mirror of
https://github.com/danbulant/jose
synced 2026-05-24 12:35:36 +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:
|
include:
|
||||||
- experimental: true
|
- experimental: true
|
||||||
node-version: '>=15'
|
node-version: '>=15'
|
||||||
|
node-options: '--throw-deprecation --pending-deprecation'
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -95,12 +96,18 @@ jobs:
|
||||||
key: dist-${{ hashFiles('src/**/*.ts') }}-${{ hashFiles('tsconfig/*.json') }}-${{ hashFiles('.github/workflows/*.yml') }}-${{ hashFiles('package.json') }}
|
key: dist-${{ hashFiles('src/**/*.ts') }}-${{ hashFiles('tsconfig/*.json') }}-${{ hashFiles('.github/workflows/*.yml') }}-${{ hashFiles('package.json') }}
|
||||||
- name: Test Node.js crypto
|
- name: Test Node.js crypto
|
||||||
run: npm run test
|
run: npm run test
|
||||||
|
env:
|
||||||
|
NODE_OPTIONS: ${{ matrix.node-options }}
|
||||||
- name: Test Node.js crypto w/ CryptoKey
|
- name: Test Node.js crypto w/ CryptoKey
|
||||||
run: npm run test-cryptokey
|
run: npm run test-cryptokey
|
||||||
if: ${{ !startsWith(matrix.node-version, '14') && !startsWith(matrix.node-version, '12') }}
|
if: ${{ !startsWith(matrix.node-version, '14') && !startsWith(matrix.node-version, '12') }}
|
||||||
|
env:
|
||||||
|
NODE_OPTIONS: ${{ matrix.node-options }}
|
||||||
- name: Test Web Cryptography API
|
- name: Test Web Cryptography API
|
||||||
run: npm run test-webcrypto
|
run: npm run test-webcrypto
|
||||||
if: ${{ !startsWith(matrix.node-version, '14') && !startsWith(matrix.node-version, '12') }}
|
if: ${{ !startsWith(matrix.node-version, '14') && !startsWith(matrix.node-version, '12') }}
|
||||||
|
env:
|
||||||
|
NODE_OPTIONS: ${{ matrix.node-options }}
|
||||||
- run: git reset HEAD --hard
|
- run: git reset HEAD --hard
|
||||||
|
|
||||||
test-deno:
|
test-deno:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue