Skip to content

infra: switch to pnpm inside github action #59

infra: switch to pnpm inside github action

infra: switch to pnpm inside github action #59

Workflow file for this run

name: Test
on:
push: {}
jobs:
tests:
strategy:
matrix:
step:
- name: Lint
command: pnpm lint
- name: Typecheck
command: pnpm typecheck
- name: Unit tests
command: pnpm unit-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: ${{ matrix.step.name }}
run: ${{ matrix.step.command }}