⬆️ (deps): bump next from 15.2.3 to 15.4.6 #98
Workflow file for this run
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: Playwright Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| timeout-minutes: 20 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Install Playwright Browsers | |
| run: npx playwright install --with-deps | |
| - name: Install serve | |
| run: yarn global add serve | |
| - name: Build application | |
| run: yarn build | |
| - name: Start static file server | |
| run: serve out & npx wait-on http://localhost:3000 | |
| - name: Run Playwright tests | |
| run: npx playwright test | |
| env: | |
| PLAYWRIGHT_TEST_BASE_URL: http://localhost:3000 | |
| - uses: actions/upload-artifact@v4 | |
| if: ${{ !cancelled() }} | |
| with: | |
| name: playwright-report | |
| path: playwright-report/ | |
| retention-days: 30 |