Skip to content

Fork to @kineticcafe and Typescript #1

Fork to @kineticcafe and Typescript

Fork to @kineticcafe and Typescript #1

Workflow file for this run

name: Node.js CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
pnpm-version: [7, 8]
steps:
- uses: actions/checkout@v4

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

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
- uses: pnpm/action-setup@v2
with:
version: ${{ matrix.pnpm-version }}
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run build
- run: pnpm run test
- run: pnpm run format:check
- run: pnpm run lint
- run: pnpm exec publint