Skip to content

Commit

Permalink
ci: 👷 point to package
Browse files Browse the repository at this point in the history
  • Loading branch information
spences10 committed Jan 6, 2024
1 parent 93d171f commit dc14422
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: 'Tests: Unit'

on:
push:
branches: [main]
Expand All @@ -8,10 +9,14 @@ on:

jobs:
unit_tests:
name: Run unit tests
name: Run unit tests for Package
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- uses: actions/cache@v3
with:
path: ~/.pnpm-store
Expand All @@ -21,14 +26,11 @@ jobs:
- uses: pnpm/[email protected]
with:
version: 6.0.2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Install dependencies
run: pnpm install
run: pnpm recursive install
- name: Run unit tests
run: pnpm run test:unit
run: pnpm run test:ci
working-directory: packages/svead
env:
PUBLIC_FATHOM_ID: ${{ secrets.PUBLIC_FATHOM_ID }}
PUBLIC_FATHOM_URL: ${{ secrets.PUBLIC_FATHOM_URL }}

0 comments on commit dc14422

Please sign in to comment.