fix(node): dropped support for the EOL Node 18, added support for Nod… #1761
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.56.1-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: Lint | |
| run: npm run lint | |
| - name: Run tests | |
| run: npm test | |
| - uses: actions/upload-artifact@v5 | |
| if: always() | |
| with: | |
| name: serenity-report | |
| path: target/site/serenity | |
| retention-days: 30 | |
| - 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/serenity | |
| clean: true |