Skip to content

Commit

Permalink
ci: polyfill job
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Jan 17, 2025
1 parent c4963cc commit e6d1847
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test-js-polyfill.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Run JS tests with polyfill
on:
- push
- pull_request
jobs:
node_polyfill: Node v${{ matrix.node }}
runs-on: ubuntu-24.04-arm
strategy:
matrix:
node: [18.20.5, 20.18.1, 22.13.0] # LTS on Jan 2025. Hardcoded is more secure
steps:
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
with:
registry-url: "https://registry.npmjs.org"
cache: npm
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run build --if-present
- run: npm run test:webcrypto

0 comments on commit e6d1847

Please sign in to comment.