chore: update bundle and test actions
This commit is contained in:
parent
70f9c679d9
commit
54382d3e3e
3 changed files with 6 additions and 2 deletions
2
.github/workflows/nextjs_bundle_analysis.yml
vendored
2
.github/workflows/nextjs_bundle_analysis.yml
vendored
|
|
@ -67,7 +67,7 @@ jobs:
|
|||
path: .next/analyze/__bundle_analysis.json
|
||||
|
||||
- name: Download base branch bundle stats
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
uses: dawidd6/action-download-artifact@v8
|
||||
if: success() && github.event.number
|
||||
with:
|
||||
workflow: nextjs_bundle_analysis.yml
|
||||
|
|
|
|||
4
.github/workflows/playwright.yml
vendored
4
.github/workflows/playwright.yml
vendored
|
|
@ -18,16 +18,20 @@ jobs:
|
|||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "${{ env.node_version }}"
|
||||
|
||||
- name: "Install pnpm & dependencies"
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
run_install: |
|
||||
- recursive: true
|
||||
- args: [--frozen-lockfile]
|
||||
|
||||
- name: Install Playwright Browsers
|
||||
run: pnpm playwright install --with-deps
|
||||
|
||||
- name: Run Playwright tests
|
||||
run: pnpm playwright test
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ export default defineConfig({
|
|||
|
||||
/* Run your local dev server before starting the tests */
|
||||
webServer: {
|
||||
command: "yarn dev",
|
||||
command: "pnpm dev",
|
||||
url: "http://127.0.0.1:3000",
|
||||
reuseExistingServer: !process.env.CI,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue