Skip to content

Commit 8ba0124

Browse files
committed
ci(github): use the official Serenity/JS Docker image
1 parent e8265b2 commit 8ba0124

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,24 @@ jobs:
1111
test:
1212
timeout-minutes: 60
1313
runs-on: ubuntu-latest
14+
container:
15+
image: ghcr.io/serenity-js/playwright:v1.56.1-noble
1416
steps:
15-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
16-
- uses: actions/setup-node@v4
17+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
18+
- uses: actions/setup-node@v6
1719
with:
1820
node-version: '22.21.1'
19-
- uses: actions/setup-java@v4
20-
with:
21-
distribution: 'temurin'
22-
java-version: '17'
2321
- name: Setup Node Modules
2422
uses: bahmutov/npm-install@v1
25-
- name: Install Playwright Browsers
26-
run: npx playwright install --with-deps
2723
- name: Run Playwright tests
2824
run: npm test
29-
- uses: actions/upload-artifact@v4
25+
- uses: actions/upload-artifact@v5
3026
if: always()
3127
with:
3228
name: playwright-report
3329
path: playwright-report
3430
retention-days: 30
35-
- uses: actions/upload-artifact@v4
31+
- uses: actions/upload-artifact@v5
3632
if: always()
3733
with:
3834
name: serenity-report
@@ -46,6 +42,6 @@ jobs:
4642
if: github.ref == 'refs/heads/main'
4743
uses: JamesIves/[email protected]
4844
with:
49-
BRANCH: gh-pages
50-
FOLDER: target/site
51-
CLEAN: true
45+
branch: gh-pages
46+
folder: target/site
47+
clean: true

0 commit comments

Comments
 (0)