Skip to content

chore(main): release 2.0.0 #2

chore(main): release 2.0.0

chore(main): release 2.0.0 #2

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CI: true
name: Check PR

Check failure on line 14 in .github/workflows/CI.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/CI.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
jobs:
check:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
script: [lint, test, build]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm install
- name: Run ${{ matrix.script }}
if: matrix.script == 'lint'
run: npm run ${{ matrix.script }}