Skip to content

Commit

Permalink
Build before typechecking
Browse files Browse the repository at this point in the history
  • Loading branch information
HorusGoul committed Dec 6, 2023
1 parent 324ab61 commit b872ca0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: CI
run: pnpm turbo run build lint test typecheck

- name: Create Release Pull Request
uses: changesets/action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "turbo run test",
"test:coverage": "turbo run test:coverage",
"typecheck": "turbo run typecheck",
"publish-packages": "turbo run build lint test typecheck && changeset publish"
"publish-packages": "changeset publish"
},
"dependencies": {
"@changesets/cli": "2.26.2",
Expand Down
1 change: 1 addition & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"cache": false
},
"typecheck": {
"dependsOn": ["^build"],
"outputs": []
},
"test": {
Expand Down

0 comments on commit b872ca0

Please sign in to comment.