Skip to content

Commit 83271b6

Browse files
committed
Fix CI: add npm install for examples, enable GitHub Pages in deploy
1 parent 3072bec commit 83271b6

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
- run: npm ci && npm run build
3030
- run: cd showcase && npm install && npm run build
3131
- uses: actions/configure-pages@v4
32+
with:
33+
enablement: true
3234
- uses: actions/upload-pages-artifact@v3
3335
with:
3436
path: showcase/dist

tests/e2e-browser/playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ export default defineConfig({
3030
],
3131
webServer: [
3232
{
33-
command: 'cd ../../examples/task-manager && npm run build && npm run preview -- --port 4173',
33+
command: 'cd ../../examples/task-manager && npm install && npm run build && npm run preview -- --port 4173',
3434
port: 4173,
3535
reuseExistingServer: !process.env.CI,
3636
},
3737
{
38-
command: 'cd ../../examples/multi-ns-app && npm run build && npm run preview -- --port 4174',
38+
command: 'cd ../../examples/multi-ns-app && npm install && npm run build && npm run preview -- --port 4174',
3939
port: 4174,
4040
reuseExistingServer: !process.env.CI,
4141
},

0 commit comments

Comments
 (0)