Skip to content

Commit 7d88b77

Browse files
committed
Explicity playground build command
1 parent 9909562 commit 7d88b77

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/playground.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ jobs:
3131
cache: 'pnpm'
3232
- name: Build Playground
3333
run: |
34-
pnpm install
35-
pnpm build:playground
34+
pnpm install --frozen-lockfile
35+
pnpm build
36+
pnpm playground
3637
- name: Deploy 🚀
3738
uses: JamesIves/github-pages-deploy-action@v4.7.2
3839
with:

.github/workflows/pr-previews.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ jobs:
3939
cache: 'pnpm'
4040
- name: Build Playground
4141
run: |
42-
pnpm install
43-
pnpm build:playground
42+
pnpm install --frozen-lockfile
43+
pnpm build
44+
pnpm playground
4445
- uses: rossjrw/pr-preview-action@v1.6.0
4546
with:
4647
action: deploy

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"test": "vitest",
1515
"lint": "prettier -c '**/*.ts'",
1616
"pretty": "prettier -w '**/*.ts'",
17-
"build:playground": "pnpm build && pnpm --dir packages/playground build"
17+
"playground": "pnpm --dir packages/playground build"
1818
},
1919
"devDependencies": {
2020
"@types/node": "^18.19.70",

0 commit comments

Comments
 (0)