-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #125 from ethereum/v23
Version 3
- Loading branch information
Showing
18 changed files
with
673 additions
and
625 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.