Skip to content

Commit 020a5d0

Browse files
committed
try to fix missing tsconfig bug that doesnt happen locally
1 parent 32a8e83 commit 020a5d0

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ jobs:
4949
cache-dependency-path: '**/pnpm-lock.yaml'
5050
- name: install
5151
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
5254
- name: format
5355
run: pnpm check:format
5456
- name: lint

packages/e2e-tests/kit-async/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"build": "vite build",
99
"preview": "vite preview",
1010
"prepare": "svelte-kit sync || echo ''",
11+
"sync": "svelte-kit sync || echo ''",
1112
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
1213
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
1314
},

packages/e2e-tests/kit-node/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"dev": "vite dev",
77
"build": "vite build",
88
"preview": "vite preview",
9+
"prepare": "svelte-kit sync || echo ''",
10+
"sync": "svelte-kit sync || echo ''",
911
"check": "svelte-check --tsconfig ./jsconfig.json",
1012
"check:watch": "svelte-check --tsconfig ./jsconfig.json --watch",
1113
"package": "svelte-package && echo just here for testing, don't remove svelte-package!"

0 commit comments

Comments
 (0)