Skip to content

fix(workflow): add new setup action and fix unit-test.yml workflow #13

fix(workflow): add new setup action and fix unit-test.yml workflow

fix(workflow): add new setup action and fix unit-test.yml workflow #13

Workflow file for this run

---
name: Unit Test
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup
uses: ./.github/actions/setup
with:
node-registry: https://registry.npmjs.org
- name: Build
run: pnpm run build
- name: Lint
run: pnpm run lint
- name: Typecheck
run: pnpm run typecheck
- name: Test
run: pnpm run test