Skip to content

Commit

Permalink
ci: split unit and e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
trezy committed Sep 2, 2024
1 parent 4ae3129 commit c69b2f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/handle-release-branch-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
- name: Lint
command: test:lint
- name: Unit tests
command: test
command: test:unit
- name: E2E tests
command: test:e2e
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
"prerelease": "npm run test:lint && npm run build",
"release": "xs bump,publish,git-push",
"test": "tsc --project tsconfig.test.json && vitest run",
"test:e2e": "tsc --project tsconfig.test.json && vitest run --project e2e",
"test:unit": "tsc --project tsconfig.test.json && vitest run --project unit",
"test:lint": "xs lint",
"test:watch": "vitest"
},
Expand Down

0 comments on commit c69b2f7

Please sign in to comment.