[Snyk] Security upgrade jest from 24.9.0 to 27.0.2 #185
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: Test CI | |
on: [push, pull_request] | |
env: | |
DEBUG: 1 | |
NODE_ENV: development | |
jobs: | |
test: | |
name: Test | |
strategy: | |
max-parallel: 4 | |
fail-fast: true | |
matrix: | |
node: ['12', '10'] | |
os: [windows-latest, ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
ref: ${{ github.ref }} | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install Node Modules | |
run: npm install | |
- name: Validate JSON | |
shell: bash | |
run: npm run lint:json | |
- name: Validate JavaScript | |
shell: bash | |
run: npm run lint:js | |
- name: Lint Code | |
shell: bash | |
run: npm run lint:code | |
- name: Lint Docs | |
shell: bash | |
run: npm run lint:doc | |
- name: Lint Dependencies | |
shell: bash | |
run: npm run lint:deps | |
- name: Check JSDoc Types | |
shell: bash | |
run: npm run lint:types | |
- name: Check Typescript Types | |
shell: bash | |
run: npm run lint:ts | |
# - name: Test Code | |
# shell: bash | |
# run: npm test |