Skip to content

chore: add Playwright E2E test scaffolding, remove stale screenshot #35

chore: add Playwright E2E test scaffolding, remove stale screenshot

chore: add Playwright E2E test scaffolding, remove stale screenshot #35

Workflow file for this run

name: Tests
on:
push:
branches: ['**'] # run on every branch push
pull_request:
branches: [main] # required gate before merge to main
jobs:
test:
name: Test (Node ${{ matrix.node-version }})
runs-on: macos-latest
strategy:
matrix:
node-version: [18, 20, 22]
fail-fast: false
steps:
- uses: actions/checkout@v6
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Upload logs on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-results-node${{ matrix.node-version }}
path: ~/.argus/logs/
retention-days: 7