add the option to remove zeros from the vertical config #590
This file contains 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: E2E Tests | |
env: | |
NEXT_PUBLIC_API_URL: http://localhost:3000 | |
NEXTAUTH_SECRET: my_ultra_secure_nextauth_secret | |
NEXTAUTH_URL: http://localhost:3001 | |
on: [push] | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20.x" | |
- run: npm install | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Build Next.js application | |
run: npm run build | |
- name: Start Next.js application | |
run: PORT=3001 npm run start & sleep 5 # starts the server in the background and waits for it to be ready | |
- name: Run Playwright tests | |
run: npm run test:e2e | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |