Skip to content

Commit

Permalink
Merge pull request #64 from magicspon/dev
Browse files Browse the repository at this point in the history
ci: add test github action
  • Loading branch information
magicspon authored May 19, 2024
2 parents fb26f6d + c1de506 commit d36f24e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Units Tests
on:
pull_request:
paths:
- apps/**
- packages/**
jobs:
test:
name: Tests
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node
uses: pnpm/action-setup@v3
with:
version: 8

# Throw an error if the yarn.lock file doesn't match the installed dependencies (rather than updating it in-place, which it does by default locally)
- name: Install
run: pnpm install --no-frozen-lockfile

- name: Lint
run: pnpm test:run

0 comments on commit d36f24e

Please sign in to comment.