Skip to content

run on master

run on master #1

Workflow file for this run

name: Test
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
unit:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['14', '16', '18', '20']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: {{ matrix.version }}

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

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 21, Col: 25): A mapping was not expected
cache: npm
- run: npm install
- run: npm test