Skip to content

chore: Update pnpm and node setup in release.yml and test.yml workflows #604

chore: Update pnpm and node setup in release.yml and test.yml workflows

chore: Update pnpm and node setup in release.yml and test.yml workflows #604

Workflow file for this run

name: Test
on:
push:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

Check failure on line 21 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 21
- name: Install dependencies
run: pnpm install
- name: Linting
run: pnpm lint
- name: Test
run: pnpm test