mirror of
https://github.com/danbulant/jose
synced 2026-05-19 20:38:42 +00:00
ci: experimental builds with pending and throwing deprecations
This commit is contained in:
parent
b929659281
commit
c0bc79e949
1 changed files with 7 additions and 0 deletions
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
|
@ -64,6 +64,7 @@ jobs:
|
|||
include:
|
||||
- experimental: true
|
||||
node-version: '>=15'
|
||||
node-options: '--throw-deprecation --pending-deprecation'
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
@ -95,12 +96,18 @@ jobs:
|
|||
key: dist-${{ hashFiles('src/**/*.ts') }}-${{ hashFiles('tsconfig/*.json') }}-${{ hashFiles('.github/workflows/*.yml') }}-${{ hashFiles('package.json') }}
|
||||
- name: Test Node.js crypto
|
||||
run: npm run test
|
||||
env:
|
||||
NODE_OPTIONS: ${{ matrix.node-options }}
|
||||
- name: Test Node.js crypto w/ CryptoKey
|
||||
run: npm run test-cryptokey
|
||||
if: ${{ !startsWith(matrix.node-version, '14') && !startsWith(matrix.node-version, '12') }}
|
||||
env:
|
||||
NODE_OPTIONS: ${{ matrix.node-options }}
|
||||
- name: Test Web Cryptography API
|
||||
run: npm run test-webcrypto
|
||||
if: ${{ !startsWith(matrix.node-version, '14') && !startsWith(matrix.node-version, '12') }}
|
||||
env:
|
||||
NODE_OPTIONS: ${{ matrix.node-options }}
|
||||
- run: git reset HEAD --hard
|
||||
|
||||
test-deno:
|
||||
|
|
|
|||
Loading…
Reference in a new issue