Skip to content

Commit e28a602

Browse files
committed
chore: upgrade github action
1 parent a353e9a commit e28a602

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/e2e.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ jobs:
2626

2727
steps:
2828
# prepare core binaries
29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030

3131
- name: Install Node.js
32-
uses: actions/setup-node@v3
32+
uses: actions/setup-node@v4
3333
with:
34-
node-version: lts/*
34+
node-version: 20
3535
cache: 'yarn'
3636

3737
- name: Install dependencies
38-
run: yarn
38+
run: yarn install --frozen-lockfile # optional, --immutable
3939

4040
# run lint
4141
- name: Run tests
@@ -49,7 +49,7 @@ jobs:
4949
echo version=$(npm info @playwright/test version) >> $GITHUB_OUTPUT
5050
5151
- name: Cache Playwright binaries
52-
uses: actions/cache@v3
52+
uses: actions/cache@v4
5353
id: playwright-cache
5454
with:
5555
path: |
@@ -75,12 +75,13 @@ jobs:
7575
- name: Run tests
7676
run: TEST_PROJECT_LIST="${{matrix.TEST_PROJECT_LIST}}" yarn test
7777

78-
- uses: actions/upload-artifact@v3
78+
- uses: actions/upload-artifact@v4
7979
if: failure()
8080
with:
81-
name: playwright-report
81+
name: "playwright-report-${{ matrix.os }}"
8282
path: |
8383
test-results/
8484
playwright-report/
8585
tests/**/__screenshots__/github_*
8686
retention-days: 5
87+
compression-level: 9

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,6 @@
8787
"test:run": "playwright test",
8888
"test:server": "node tests/utils/server/index.js",
8989
"prepare": "husky install"
90-
}
90+
},
91+
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
9192
}

0 commit comments

Comments
 (0)