Skip to content

quotes

quotes #7

Workflow file for this run

name: CI
on: [push, pull_request]
env:
CI: true
jobs:
test:
name: Tests for Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node: [16, 18, 20, 22]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set Node.js version
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: node --version
- run: npm --version
- run: where.exe npm
if: ${{ matrix.os == "windows-latest" }}

Check failure on line 30 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 30, Col: 13): Unexpected symbol: '"windows-latest"'. Located at position 14 within expression: matrix.os == "windows-latest"
- name: Install npm dependencies
run: npm install
- name: Run tests
run: npm test