Skip to content

Commit

Permalink
Merge pull request #125 from ethereum/v23
Browse files Browse the repository at this point in the history
Version 3
  • Loading branch information
paulmillr authored Sep 12, 2024
2 parents e1402c8 + 3f5284d commit 8d2e9be
Show file tree
Hide file tree
Showing 18 changed files with 673 additions and 625 deletions.
9 changes: 0 additions & 9 deletions .github/dependabot.yml

This file was deleted.

24 changes: 13 additions & 11 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@ jobs:
strategy:
fail-fast: false
matrix:
include:
# @actions/setup-node does not support Node.js v14 for macOS
- node: 14
os: ubuntu-latest
node:
- 16.0.0
- 16
- 18.0.0
- 18
- 20
# TODO: Unpin to `22` once parcel incomaptibility with 22.7+ is resolved
# - https://github.com/nodejs/node/issues/54573
# - https://github.com/parcel-bundler/parcel/issues/9926
# TODO: change to `22` once they fix https://github.com/nodejs/node/issues/54573
- 22.6
os:
- ubuntu-latest
Expand All @@ -28,12 +33,9 @@ jobs:
node-version: ${{ matrix.node }}
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- run: npm install -g [email protected]
- run: npm ci
- name: Build and run tests
run: |
npm run build --if-present
npm test
- name: Run browser tests and lint
run: |
npm run browser-tests
npm run lint
- run: npm run build --if-present
- run: npm test
- run: npm run browser-tests
- run: npm run lint --if-present
23 changes: 12 additions & 11 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version: ${{ matrix.node }}
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
cache: npm
- run: npm install -g [email protected]
- run: npm ci
- run: npm run build
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/bip39
/test-builds
/node_modules
/.parcel-cache
.parcel-cache
/esm
/test/node_modules
/test/package-lock.json
Expand Down
Loading

0 comments on commit 8d2e9be

Please sign in to comment.