|
64 | 64 | key: ${{ github.sha }}-${{ hashFiles('pnpm-lock.yaml') }}
|
65 | 65 | - name: Build the package on cache miss
|
66 | 66 | if: steps.cache-restore.outputs.cache-hit != 'true'
|
67 |
| - run: pnpm install && pnpm build && pnpm snapshot |
| 67 | + run: pnpm install && pnpm build && pnpm snapshot && echo "{}" > playground/package.json |
68 | 68 | - name: Move playground to an outside directory to work around working-directory issue
|
69 | 69 | if: steps.cache-restore.outputs.cache-hit != 'true'
|
70 | 70 | run: mv playground ../playground
|
@@ -104,7 +104,7 @@ jobs:
|
104 | 104 | key: ${{ github.sha }}-${{ hashFiles('pnpm-lock.yaml') }}
|
105 | 105 | - name: Build the package on cache miss
|
106 | 106 | if: steps.cache-restore.outputs.cache-hit != 'true'
|
107 |
| - run: pnpm install && pnpm build && pnpm snapshot |
| 107 | + run: pnpm install && pnpm build && pnpm snapshot && echo "{}" > playground/package.json |
108 | 108 | - name: Move playground to an outside directory to work around working-directory issue
|
109 | 109 | if: steps.cache-restore.outputs.cache-hit != 'true'
|
110 | 110 | run: mv playground ../playground
|
@@ -149,7 +149,7 @@ jobs:
|
149 | 149 | key: ${{ github.sha }}-${{ hashFiles('pnpm-lock.yaml') }}
|
150 | 150 | - name: Build the package on cache miss
|
151 | 151 | if: steps.cache-restore.outputs.cache-hit != 'true'
|
152 |
| - run: pnpm install && pnpm build && pnpm snapshot |
| 152 | + run: pnpm install && pnpm build && pnpm snapshot && echo "{}" > playground/package.json |
153 | 153 | - name: Move playground to an outside directory to work around working-directory issue
|
154 | 154 | if: steps.cache-restore.outputs.cache-hit != 'true'
|
155 | 155 | run: mv playground ../playground
|
|
0 commit comments