Skip to content

Commit 8edb957

Browse files
committed
feat: added typecheck job to ci
1 parent 7ddceae commit 8edb957

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@ on:
99
- master
1010

1111
jobs:
12+
typecheck:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: pnpm/action-setup@v2
17+
with:
18+
version: 8
19+
- uses: actions/setup-node@v3
20+
with:
21+
node-version: 20
22+
cache: 'pnpm'
23+
- name: Install dependencies
24+
run: pnpm install
25+
- name: Run Typecheck
26+
run: pnpm typecheck
27+
1228
eslint:
1329
runs-on: ubuntu-latest
1430
steps:

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"generate": "nuxt generate",
1010
"preview": "nuxt preview",
1111
"postinstall": "nuxt prepare",
12+
"typecheck": "nuxt typecheck",
1213
"eslint": "eslint --ignore-path .gitignore .",
1314
"eslint:fix": "pnpm run eslint --fix"
1415
},
@@ -27,6 +28,7 @@
2728
"nuxt": "^3.10.3",
2829
"prettier": "^3.0.3",
2930
"sass": "^1.69.6",
31+
"typescript": "^5.3.3",
3032
"vite-plugin-vuetify": "^2.0.1",
3133
"vue-tsc": "^1.8.27"
3234
},

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)