Skip to content

Merge pull request #362 from serenity-js/renovate/serenityjs-and-play… #1077

Merge pull request #362 from serenity-js/renovate/serenityjs-and-play…

Merge pull request #362 from serenity-js/renovate/serenityjs-and-play… #1077

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
types: [ opened, synchronize ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
container:
image: ghcr.io/serenity-js/playwright:v1.57.0-noble
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
- uses: actions/setup-node@v6
with:
node-version: '24.11.1'
- name: Setup Node Modules
uses: bahmutov/npm-install@v1
- name: Run Playwright tests
run: npm test
- uses: actions/upload-artifact@v5
if: always()
with:
name: playwright-report
path: playwright-report
retention-days: 30
- uses: actions/upload-artifact@v5
if: always()
with:
name: serenity-report
path: target/site/serenity
retention-days: 30
- name: Move Playwright reports
run: mv playwright-report target/site/playwright
- name: GitHub Pages
if: github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4.7.4
with:
branch: gh-pages
folder: target/site
clean: true