Skip to content

Commit 7f3aa21

Browse files
committed
ci: must move playground; but does it work without empty package.json?
1 parent 228b568 commit 7f3aa21

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,15 @@ jobs:
6666
playground
6767
key: ${{ github.sha }}-${{ hashFiles('pnpm-lock.yaml') }}
6868
- name: Build the package on cache miss
69-
run: pnpm install && pnpm build && pnpm snapshot && echo "{}" > playground/package.json
69+
run: pnpm install && pnpm build && pnpm snapshot
70+
- name: Move playground to work around weird working-directory issue
71+
run: mv playground ../playground
7072
- name: Install dependencies in playground
71-
working-directory: ./playground
73+
working-directory: ../playground
7274
run: pnpm install --no-frozen-lockfile -r
7375

7476
- name: Run build script in playground
75-
working-directory: ./playground
77+
working-directory: ../playground
7678
run: pnpm --filter "*" build
7779

7880
# test-vitest:

0 commit comments

Comments
 (0)