Skip to content

Commit 107a023

Browse files
authored
fix: gh-action lints and typechecks on core changes (#170)
1 parent 10cd51b commit 107a023

File tree

4 files changed

+4728
-12048
lines changed

4 files changed

+4728
-12048
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- name: Install Dependencies
1919
run: |
2020
npm install --no-progress
21+
npm install --no-progress --prefix upload-action
2122
- name: Run Lint
2223
run: |
2324
npm run lint
@@ -30,4 +31,4 @@ jobs:
3031
npm run build
3132
- name: Check TypeScript
3233
run: |
33-
npm run typecheck
34+
npm run typecheck

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@
7373
"test:watch": "vitest",
7474
"lint": "tsc && biome check --no-errors-on-unmatched --files-ignore-unknown=true .",
7575
"lint:fix": "biome check --no-errors-on-unmatched --files-ignore-unknown=true --fix .",
76-
"typecheck": "tsc --noEmit",
76+
"typecheck": "npm run typecheck:root && npm run typecheck:upload-action",
77+
"typecheck:root": "tsc --noEmit",
78+
"typecheck:upload-action": "npm run typecheck --prefix upload-action",
7779
"prepublishOnly": "npm run build"
7880
},
7981
"repository": {

0 commit comments

Comments
 (0)