Skip to content

Commit 63dd590

Browse files
committed
Add typecheck script and CI step while renaming package to CWC
- add ts check in release workflow
1 parent 7d3ce45 commit 63dd590

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

‎.github/workflows/github-release.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
- name: Lint
3838
run: pnpm lint
3939

40+
- name: Type check
41+
run: pnpm typecheck
42+
4043
- name: Test
4144
run: pnpm test
4245

‎package.json‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
{
2-
"name": "cwc",
2+
"name": "CWC",
3+
"scripts": {
4+
"prepare": "husky",
5+
"test": "jest",
6+
"test:watch": "jest --watch",
7+
"lint": "eslint . --ext ts,tsx",
8+
"lint:fix": "eslint . --ext ts,tsx --fix",
9+
"typecheck": "tsc --noEmit"
10+
},
311
"packageManager": "pnpm@12.17.0+sha512.b8d223ebec04b580a89ed206daa71d1bccb6a1ee1d52efa95cc3b0db75271561df8f0d8e2c43add39c5ec08018af7a8a95108e7090f95a29f88727b7a40fd53d",
412
"devDependencies": {
513
"@types/chrome": "0.3.7",
@@ -16,13 +24,6 @@
1624
"ts-jest": "29.4.0",
1725
"typescript": "6.0.2"
1826
},
19-
"scripts": {
20-
"prepare": "husky",
21-
"test": "jest",
22-
"test:watch": "jest --watch",
23-
"lint": "eslint . --ext ts,tsx",
24-
"lint:fix": "eslint . --ext ts,tsx --fix"
25-
},
2627
"lint-staged": {
2728
"*.{ts,tsx}": [
2829
"eslint --fix"

0 commit comments

Comments
 (0)