Skip to content

Add a devenv setup and switch to pnpm #6

Add a devenv setup and switch to pnpm

Add a devenv setup and switch to pnpm #6

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
# The action reads the pnpm version from the packageManager field in package.json.
- name: Install pnpm
uses: pnpm/action-setup@v6
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run lint
run: pnpm run lint
- name: Run build
run: pnpm run build