Skip to content

Commit 39abfc6

Browse files
committed
GitHubActionsUpdate
1 parent b1c7790 commit 39abfc6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/playwright.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
steps:
2424
# Step to checkout the source code from the repository
2525
- name: Checkout code
26-
uses: actions/checkout@v2
26+
uses: actions/checkout@v4
2727

2828
# Step to set up the Node.js version
2929
- name: Install node js v20
30-
uses: actions/setup-node@v2
30+
uses: actions/setup-node@v4
3131
with:
3232
node-version: "20"
3333

@@ -71,7 +71,7 @@ jobs:
7171

7272
# Step to upload artifact
7373
- name: Upload artifact
74-
uses: actions/upload-artifact@v2
74+
uses: actions/upload-artifact@v4
7575
with:
7676
name: html-report
7777
path: html-report.zip
@@ -81,7 +81,7 @@ jobs:
8181
# Step to generate artifact link
8282
- name: Generate artifact link
8383
id: artifact_link
84-
run: echo "::set-output name=artifact_url::https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
84+
run: echo "artifact_url=https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" >> $GITHUB_OUTPUT
8585
if: always()
8686

8787
# Send Slack notification with html-reprt url once the tests are completed

0 commit comments

Comments
 (0)