chore(deps): update dependency cpy-cli to v6 #942
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 | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.19.0' | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Setup Node Modules | |
| uses: bahmutov/npm-install@v1 | |
| - name: Install Playwright Browsers | |
| run: npx playwright install --with-deps | |
| - name: Run Playwright tests | |
| run: npm test | |
| - uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: playwright-report | |
| path: playwright-report | |
| retention-days: 30 | |
| - uses: actions/upload-artifact@v4 | |
| 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 |