npm audit fixes #112
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: | |
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@v3 | |
- name: Install | |
run: | | |
npm install | |
- name: Audit | |
run: | | |
npm audit | |
- name: Lint | |
run: | | |
npm run lint | |
- name: Build | |
run: | | |
npm run build | |
- name: Test | |
run: | | |
npm run test |