File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 24
24
run : pnpm install --frozen-lockfile
25
25
26
26
- name : 🔠 Lint project
27
- run : pnpm run lint
27
+ run : pnpm lint
28
28
29
29
test :
30
30
runs-on : ubuntu-latest
@@ -41,10 +41,13 @@ jobs:
41
41
run : pnpm install --frozen-lockfile
42
42
43
43
- name : 🛠 Build project
44
- run : pnpm run build
44
+ run : pnpm build
45
+
46
+ - name : 💪 Test types
47
+ run : pnpm test:types
45
48
46
49
- name : 🧪 Test project
47
- run : pnpm run test --coverage
50
+ run : pnpm test --coverage
48
51
49
52
- name : 🟩 Coverage
50
53
uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change 30
30
"prepublishOnly" : " pnpm lint && pnpm test && pinst --disable" ,
31
31
"release" : " release-it" ,
32
32
"test" : " vitest run" ,
33
+ "test:types" : " tsc --noEmit" ,
33
34
"postinstall" : " husky install" ,
34
35
"postpublish" : " pinst --enable"
35
36
},
Original file line number Diff line number Diff line change 4
4
"module" : " ESNext" ,
5
5
"moduleResolution" : " Node" ,
6
6
"esModuleInterop" : true ,
7
+ "skipLibCheck" : true ,
7
8
"paths" : {
8
9
"magic-regexp/transform" : [" ./src/transform" ],
9
10
"magic-regexp" : [" ./src/index" ]
Original file line number Diff line number Diff line change 1
- import { fileURLToPath } from 'url'
1
+ import { fileURLToPath } from 'node: url'
2
2
import { defineConfig } from 'vite'
3
3
4
4
export default defineConfig ( {
You can’t perform that action at this time.
0 commit comments