Skip to content

Commit

Permalink
fix: only run tests in src folder
Browse files Browse the repository at this point in the history
  • Loading branch information
robertherber committed Jun 13, 2024
1 parent 834153a commit 74e7293
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ name: PR - Publish Preview
# events but only for the main branch
on:
pull_request_target:
pull_request:
workflow_dispatch:

concurrency:
group: preview-${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"app.plugin.js"
],
"scripts": {
"test-only": "bun test --preload ./src/test-setup.ts",
"test-only": "bun test --preload ./src/test-setup.ts src",
"test": "concurrently \"bun test-only\" \"bun typecheck\" \"bun lint\"",
"typecheck": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\" --cache",
Expand Down

0 comments on commit 74e7293

Please sign in to comment.