Skip to content

Commit 8d2e9be

Browse files
authored
Merge pull request #125 from ethereum/v23
Version 3
2 parents e1402c8 + 3f5284d commit 8d2e9be

18 files changed

+673
-625
lines changed

Diff for: .github/dependabot.yml

-9
This file was deleted.

Diff for: .github/workflows/nodejs.yml

+13-11
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,17 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13+
include:
14+
# @actions/setup-node does not support Node.js v14 for macOS
15+
- node: 14
16+
os: ubuntu-latest
1317
node:
18+
- 16.0.0
19+
- 16
20+
- 18.0.0
1421
- 18
1522
- 20
16-
# TODO: Unpin to `22` once parcel incomaptibility with 22.7+ is resolved
17-
# - https://github.com/nodejs/node/issues/54573
18-
# - https://github.com/parcel-bundler/parcel/issues/9926
23+
# TODO: change to `22` once they fix https://github.com/nodejs/node/issues/54573
1924
- 22.6
2025
os:
2126
- ubuntu-latest
@@ -28,12 +33,9 @@ jobs:
2833
node-version: ${{ matrix.node }}
2934
registry-url: 'https://registry.npmjs.org'
3035
cache: 'npm'
36+
- run: npm install -g [email protected]
3137
- run: npm ci
32-
- name: Build and run tests
33-
run: |
34-
npm run build --if-present
35-
npm test
36-
- name: Run browser tests and lint
37-
run: |
38-
npm run browser-tests
39-
npm run lint
38+
- run: npm run build --if-present
39+
- run: npm test
40+
- run: npm run browser-tests
41+
- run: npm run lint --if-present

Diff for: .github/workflows/publish-npm.yml

+12-11
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ jobs:
99
contents: read
1010
id-token: write
1111
steps:
12-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
13-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
14-
with:
15-
node-version: ${{ matrix.node }}
16-
registry-url: 'https://registry.npmjs.org'
17-
cache: 'npm'
18-
- run: npm ci
19-
- run: npm run build
20-
- run: npm publish --provenance --access public
21-
env:
22-
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
12+
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4
13+
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
14+
with:
15+
node-version: 20
16+
registry-url: 'https://registry.npmjs.org'
17+
cache: npm
18+
- run: npm install -g [email protected]
19+
- run: npm ci
20+
- run: npm run build
21+
- run: npm publish --provenance --access public
22+
env:
23+
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/bip39
66
/test-builds
77
/node_modules
8-
/.parcel-cache
8+
.parcel-cache
99
/esm
1010
/test/node_modules
1111
/test/package-lock.json

0 commit comments

Comments
 (0)