Skip to content

Commit ae4512a

Browse files
fix: generate routes before lint and typcheck steps in ci
1 parent 6df416c commit ae4512a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
fetch-depth: 0
2020
- uses: ./.github/actions/setup
2121

22+
- run: pnpm tsr:generate
2223
- run: pnpm lint
2324

2425
format:
@@ -40,4 +41,5 @@ jobs:
4041
fetch-depth: 0
4142
- uses: ./.github/actions/setup
4243

44+
- run: pnpm tsr:generate
4345
- run: pnpm typecheck

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"format:check": "prettier --check src/**/*.{ts,tsx,js,jsx,json,css} index.html --ignore-unknown --no-error-on-unmatched-pattern",
1616
"format": "prettier --write src/**/*.{ts,tsx,js,jsx,json,css} index.html --ignore-unknown --no-error-on-unmatched-pattern",
1717
"tsr:watch": "tsr watch",
18-
"tsr:gen": "tsr generate",
18+
"tsr:generate": "tsr generate",
1919
"typecheck": "tsc"
2020
},
2121
"dependencies": {

0 commit comments

Comments
 (0)