Skip to content

Commit

Permalink
Merge pull request #57 from farcasterxyz/td/actions
Browse files Browse the repository at this point in the history
setup tests in turbo + gh actions
  • Loading branch information
deodad authored Dec 24, 2024
2 parents f6d3ece + 1c329a6 commit 756891f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,18 @@ jobs:

- name: Check types
run: pnpm check:types

test:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Install dependencies
uses: ./.github/actions/install-dependencies

- name: Run tests
run: pnpm test
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"check:write": "biome check --write --unsafe .",
"dev": "turbo dev",
"format": "biome format --write",
"test": "turbo test",
"typecheck": "turbo typecheck",
"publish-packages": "turbo run build typecheck && changeset version && changeset publish"
},
Expand Down
3 changes: 3 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"test": {
"dependsOn": ["build", "^test"]
},
"typecheck": {
"dependsOn": ["build", "^typecheck"]
},
Expand Down

0 comments on commit 756891f

Please sign in to comment.