Add deprecation notice #71
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
name: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Test on Node.js # GitHub will add ${{ matrix.node-version }} to this title | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16, 14, 12, 10, 8, 6] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install | |
- name: Downgrade dev dependencies for Node <= 12 | |
if: matrix.node-version == '6' || matrix.node-version == '8' || matrix.node-version == '10' || matrix.node-version == '12' | |
run: | | |
npm uninstall karma karma-jasmine jsdom karma-jsdom-launcher jasmine-core | |
npm install --save-dev karma@3 karma-jasmine@2 jsdom@11 karma-jsdom-launcher@9 jasmine-core@3 | |
- run: npm test |