Skip to content

Commit 993957e

Browse files
committed
chore: update upload-artifact, preview-build-action in workflow
1 parent 9e71cad commit 993957e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/playwright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
CI: 'true'
2323
- name: Upload Playwright playwright report to GitHub Actions Artifacts
2424
if: always()
25-
uses: actions/upload-artifact@v3
25+
uses: actions/upload-artifact@v4
2626
with:
2727
name: playwright-report
2828
path: ./playwright-report
@@ -35,7 +35,7 @@ jobs:
3535
shell: bash
3636
- name: Create PR Artifact
3737
if: always()
38-
uses: actions/upload-artifact@v3
38+
uses: actions/upload-artifact@v4
3939
with:
4040
name: pr
4141
path: ./pr-id.txt

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ 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)"

.github/workflows/pr-preview-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
name: Build
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: gravity-ui/preview-build-action@v1
12-
with:
11+
- uses: gravity-ui/preview-build-action@v2
12+
with:
1313
node-version: 18
14-
env:
15-
TS_NODE_PROJECT: .storybook/tsconfig.json
14+
env:
15+
TS_NODE_PROJECT: .storybook/tsconfig.json

0 commit comments

Comments
 (0)