Skip to content

Workflow file for this run

name: Unit Test
on: [workflow_call, workflow_dispatch]
jobs:
unit_test:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action
- name: ⬇️ Checkout
uses: actions/checkout@v4
- name: Launch Turbo Remote Cache Server
uses: dtinth/setup-github-actions-caching-for-turbo@v1
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: 📦 Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: 📦 Install Dependencies
run: pnpm install
- name: Unit Test
run: pnpm test