Skip to content

workflow: add code quality #11

workflow: add code quality

workflow: add code quality #11

Workflow file for this run

name: test

Check failure on line 1 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yaml (Line: 2, Col: 11): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.os
run-name: ${{ github.actor }} - test ${{ matrix.os }}
on: [pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.17.0'
- run: npm ci
- run: npm test