Skip to content

Commit

Permalink
chore: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Oct 24, 2023
1 parent 6d2fa91 commit 4ab9fe1
Show file tree
Hide file tree
Showing 3 changed files with 181 additions and 167 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: "!contains(github.event.head_commit.message , 'skip ci')"
steps:
- { uses: actions/checkout@v4, with: { persist-credentials: false } }
- { uses: actions/setup-node@v3, with: { node-version: 18, cache: 'yarn' } }
- { uses: actions/setup-node@v4, with: { node-version: 20, cache: 'yarn' } }
- run: yarn --frozen-lockfile

- name: build
Expand All @@ -33,7 +33,7 @@ jobs:
id-token: write
steps:
- { uses: actions/checkout@v4, with: { persist-credentials: true } }
- { uses: actions/setup-node@v3, with: { node-version: 18, cache: 'yarn' } }
- { uses: actions/setup-node@v4, with: { node-version: 20, cache: 'yarn' } }

# Cache for npm/npx in ~/.npm
- uses: actions/cache@v3
Expand All @@ -54,8 +54,8 @@ jobs:
runs-on: ubuntu-latest
if: github.ref_name == 'master'
steps:
- { uses: actions/checkout@v3, with: { persist-credentials: false } }
- { uses: actions/setup-node@v3, with: { node-version: 18, cache: 'yarn' } }
- { uses: actions/checkout@v4, with: { persist-credentials: false } }
- { uses: actions/setup-node@v4, with: { node-version: 20, cache: 'yarn' } }
- run: yarn --frozen-lockfile

- name: docs-build
Expand Down
4 changes: 2 additions & 2 deletions scripts/hashBench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ yarn tsn hashBench

import { runBenchScript } from '@naturalcycles/bench-lib'
import { md5 } from '@naturalcycles/nodejs-lib'
import CryptoJS from 'crypto-js'
import cryptoJS from 'crypto-js'
import { _range, pMap, hashCode, hashCode64 } from '../src'
const crypto = require('node:crypto').webcrypto

Expand Down Expand Up @@ -48,7 +48,7 @@ runBenchScript({
// },
cryptojsmd5: done => {
const _r = data.map(obj => {
return CryptoJS.MD5(JSON.stringify(obj))
return cryptoJS.MD5(JSON.stringify(obj))
})

done.resolve()
Expand Down
Loading

0 comments on commit 4ab9fe1

Please sign in to comment.