Skip to content

chore: upgrade packages #130

chore: upgrade packages

chore: upgrade packages #130

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 test:unit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Get pnpm store directory
id: pnpm-store-dir-path
run: echo "dir=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
- name: Use pnpm cache
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-store-dir-path.outputs.dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: ${{ matrix.step.name }}
run: ${{ matrix.step.command }}