Skip to content

fix

fix #44

Workflow file for this run

name: test
on:
push:
workflow_dispatch:
permissions:
contents: read # for checkout repository
actions: read # for fetching base branch bundle stats
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Enable corepack for pnpm
run: corepack enable pnpm
- name: Setup & Restore Node cache
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
cache: 'pnpm'
node-version-file: 'package.json'
- name: Install all packages
run: pnpm install --frozen-lockfile
- name: Restore turbo cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
with:
path: .turbo/cache
key:
turbo/${{ github.job }}/${{ github.ref_name }}/${{ github.sha }}
restore-keys: |
turbo/${{ github.job }}/${{ github.ref_name }}/
turbo/${{ github.job }}/
- name: Lint check
run: pnpm lint
- name: Type check
run: pnpm typecheck
- name: Build check
run: pnpm build