Skip to content

Typo

Typo #852

Workflow file for this run

name: test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [
# From https://github.com/nodejs/Release
'12.x', # EoL 2022-04-30
'14.x', # EoL 2023-04-30
'16.x', # EoL 2023-09-11
'18.x', # EoL 2025-04-30
'latest', # EoL 2026-04-30
]
steps:
- uses: actions/checkout@v3
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Check TypeScript
run: npx tsc
- name: Run tests
run: npm run test
env:
CI: true
- name: Run linters
run: npm run lint
- name: Run NPM package lints
run: npm run lint:package
if: ${{ matrix.node-version != "12.x" }}

Check failure on line 44 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 44, Col: 13): Unexpected symbol: '"12'. Located at position 24 within expression: matrix.node-version != "12.x"