Skip to content

Commit

Permalink
chore: upgrade github action
Browse files Browse the repository at this point in the history
  • Loading branch information
zoobestik committed Oct 25, 2024
1 parent a353e9a commit e28a602
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:

steps:
# prepare core binaries
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: lts/*
node-version: 20
cache: 'yarn'

- name: Install dependencies
run: yarn
run: yarn install --frozen-lockfile # optional, --immutable

# run lint
- name: Run tests
Expand All @@ -49,7 +49,7 @@ jobs:
echo version=$(npm info @playwright/test version) >> $GITHUB_OUTPUT
- name: Cache Playwright binaries
uses: actions/cache@v3
uses: actions/cache@v4
id: playwright-cache
with:
path: |
Expand All @@ -75,12 +75,13 @@ jobs:
- name: Run tests
run: TEST_PROJECT_LIST="${{matrix.TEST_PROJECT_LIST}}" yarn test

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: playwright-report
name: "playwright-report-${{ matrix.os }}"
path: |
test-results/
playwright-report/
tests/**/__screenshots__/github_*
retention-days: 5
compression-level: 9
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,6 @@
"test:run": "playwright test",
"test:server": "node tests/utils/server/index.js",
"prepare": "husky install"
}
},
"packageManager": "[email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
}

0 comments on commit e28a602

Please sign in to comment.