npm audit fix #159
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 | |
on: | |
push: | |
pull_request: | |
jobs: | |
test_code: | |
name: Test code | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
include: | |
- os: ubuntu-latest | |
- os: macos-latest | |
- os: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install | |
run: | | |
npm ci | |
- name: Audit | |
run: | | |
npm audit | |
- name: Lint | |
run: | | |
npm run lint | |
- name: Build | |
run: | | |
npm run build | |
- name: Test | |
run: | | |
npm run test |