Skip to content

Commit

Permalink
⚙️ add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yjose committed Nov 18, 2023
1 parent 907c422 commit 70bdc7f
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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

0 comments on commit 70bdc7f

Please sign in to comment.