chore: update bundle and test actions

This commit is contained in:
Igor Klepacki 2025-01-23 17:04:02 +01:00
parent 70f9c679d9
commit 54382d3e3e
3 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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:

View file

@ -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,
},