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
|
path: .next/analyze/__bundle_analysis.json
|
||||||
|
|
||||||
- name: Download base branch bundle stats
|
- name: Download base branch bundle stats
|
||||||
uses: dawidd6/action-download-artifact@v2
|
uses: dawidd6/action-download-artifact@v8
|
||||||
if: success() && github.event.number
|
if: success() && github.event.number
|
||||||
with:
|
with:
|
||||||
workflow: nextjs_bundle_analysis.yml
|
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
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: "${{ env.node_version }}"
|
node-version: "${{ env.node_version }}"
|
||||||
|
|
||||||
- name: "Install pnpm & dependencies"
|
- name: "Install pnpm & dependencies"
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
run_install: |
|
run_install: |
|
||||||
- recursive: true
|
- recursive: true
|
||||||
- args: [--frozen-lockfile]
|
- args: [--frozen-lockfile]
|
||||||
|
|
||||||
- name: Install Playwright Browsers
|
- name: Install Playwright Browsers
|
||||||
run: pnpm playwright install --with-deps
|
run: pnpm playwright install --with-deps
|
||||||
|
|
||||||
- name: Run Playwright tests
|
- name: Run Playwright tests
|
||||||
run: pnpm playwright test
|
run: pnpm playwright test
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ export default defineConfig({
|
||||||
|
|
||||||
/* Run your local dev server before starting the tests */
|
/* Run your local dev server before starting the tests */
|
||||||
webServer: {
|
webServer: {
|
||||||
command: "yarn dev",
|
command: "pnpm dev",
|
||||||
url: "http://127.0.0.1:3000",
|
url: "http://127.0.0.1:3000",
|
||||||
reuseExistingServer: !process.env.CI,
|
reuseExistingServer: !process.env.CI,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue