ci: experimental builds with pending and throwing deprecations

This commit is contained in:
Filip Skokan 2021-09-01 15:45:03 +02:00
parent b929659281
commit c0bc79e949

View file

@ -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: