File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 49
49
cache-dependency-path : ' **/pnpm-lock.yaml'
50
50
- name : install
51
51
run : pnpm install --frozen-lockfile --prefer-offline --ignore-scripts
52
+ - name : sync
53
+ run : pnpm -r sync # required to ensure sveltekit test project have tsconfig.json which may be required by the checks below
52
54
- name : format
53
55
run : pnpm check:format
54
56
- name : lint
Original file line number Diff line number Diff line change 8
8
"build" : " vite build" ,
9
9
"preview" : " vite preview" ,
10
10
"prepare" : " svelte-kit sync || echo ''" ,
11
+ "sync" : " svelte-kit sync || echo ''" ,
11
12
"check" : " svelte-kit sync && svelte-check --tsconfig ./tsconfig.json" ,
12
13
"check:watch" : " svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
13
14
},
Original file line number Diff line number Diff line change 6
6
"dev" : " vite dev" ,
7
7
"build" : " vite build" ,
8
8
"preview" : " vite preview" ,
9
+ "prepare" : " svelte-kit sync || echo ''" ,
10
+ "sync" : " svelte-kit sync || echo ''" ,
9
11
"check" : " svelte-check --tsconfig ./jsconfig.json" ,
10
12
"check:watch" : " svelte-check --tsconfig ./jsconfig.json --watch" ,
11
13
"package" : " svelte-package && echo just here for testing, don't remove svelte-package!"
You can’t perform that action at this time.
0 commit comments