chore(deps): update serenity/js and playwright to ^3.37.1 (#379) #1119
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24.12.0' | |
| - name: Setup Node Modules | |
| uses: bahmutov/npm-install@v1 | |
| - name: Run ESLint | |
| run: npm run lint | |
| - 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/[email protected] | |
| with: | |
| branch: gh-pages | |
| folder: target/site | |
| clean: true |