Merge pull request #26 from studiorack/dependabot/npm_and_yarn/npm_an… #170
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@v4 | |
- name: Install | |
run: | | |
npm ci | |
- name: Audit | |
run: | | |
npm audit | |
- name: Lint | |
run: | | |
npm run lint | |
- name: Test | |
run: | | |
npm run test | |
- name: Build | |
run: | | |
npm run build |