Skip to content

Commit 9be5586

Browse files
committed
ci: pnpm-ify deploy action
1 parent a764e48 commit 9be5586

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ jobs:
3838
run: pnpm install
3939

4040
- name: Install Playwright (for MermaidJS)
41-
run: npx playwright install --with-deps chromium
41+
run: pnpm exec playwright install --with-deps chromium
4242

4343
- name: Build Website
44-
run: npm run build
44+
run: pnpm build
4545

4646
- name: Upload Built Website
4747
uses: actions/upload-pages-artifact@v3
@@ -84,10 +84,10 @@ jobs:
8484
run: pnpm install
8585

8686
- name: Install Playwright Browsers
87-
run: npx playwright install --with-deps chromium firefox
87+
run: pnpm exec playwright install --with-deps chromium firefox
8888

8989
- name: Run Playwright tests
90-
run: npx playwright test
90+
run: pnpm test:e2e
9191

9292
- name: Upload Test Results
9393
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)