Skip to content

⚙️ add test workflow #1

⚙️ add test workflow

⚙️ add test workflow #1

Workflow file for this run

name: Tests (jest)
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
name: Tests (jest)
runs-on: ubuntu-latest
steps:
- name: 📦 Checkout project repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 📦 Setup Node + PNPM + install deps
uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: 📦 Install Project Dependencies
run: pnpm install --frozen-lockfile
- name: 🏃‍♂️ Run Tests
run: pnpm run test