Skip to content

Commit 93d1069

Browse files
authored
chore: update test configs (#1100)
1 parent a42c72b commit 93d1069

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/playwright.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ jobs:
1010
container:
1111
image: mcr.microsoft.com/playwright:v1.45.3-jammy
1212
steps:
13-
- uses: actions/checkout@v3
14-
- uses: actions/setup-node@v3
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
1515
with:
1616
node-version: 18
17+
cache: npm
1718
- name: Install dependencies
1819
run: npm ci
1920
- name: Run Playwright tests
@@ -22,7 +23,7 @@ jobs:
2223
CI: 'true'
2324
- name: Upload Playwright playwright report to GitHub Actions Artifacts
2425
if: always()
25-
uses: actions/upload-artifact@v3
26+
uses: actions/upload-artifact@v4
2627
with:
2728
name: playwright-report
2829
path: ./playwright-report
@@ -35,7 +36,7 @@ jobs:
3536
shell: bash
3637
- name: Create PR Artifact
3738
if: always()
38-
uses: actions/upload-artifact@v3
39+
uses: actions/upload-artifact@v4
3940
with:
4041
name: pr
4142
path: ./pr-id.txt

.github/workflows/pr-playwright-report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
- name: Download Artifacts
1616
uses: actions/download-artifact@v4
1717
with:
18-
workflow: ${{ github.event.workflow_run.workflow_id }}
19-
run_id: ${{ github.event.workflow_run.id }}
18+
github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }}
19+
run-id: ${{ github.event.workflow_run.id }}
2020
- name: Extract PR Number
2121
id: pr
2222
run: echo "::set-output name=id::$(<pr/pr-id.txt)"
2323
shell: bash
24-
- name: Upload
24+
- name: Upload to S3
2525
env:
2626
AWS_ACCESS_KEY_ID: ${{ secrets.STORYBOOK_S3_KEY_ID }}
2727
AWS_SECRET_ACCESS_KEY: ${{ secrets.STORYBOOK_S3_SECRET_KEY }}

0 commit comments

Comments
 (0)