Skip to content

fix(deps-dev): bump rimraf from 6.0.1 to 6.1.0 (#97) #107

fix(deps-dev): bump rimraf from 6.0.1 to 6.1.0 (#97)

fix(deps-dev): bump rimraf from 6.0.1 to 6.1.0 (#97) #107

Workflow file for this run

name: Test
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Run Tests
timeout-minutes: 60
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [20.x, 22.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: "stable"
cache: true
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run unit tests
run: npm run test
- name: Run Playwright tests
run: npx playwright test
- name: Upload test results
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: test-results-${{ matrix.node-version }}
path: |
playwright-report/
test-results/
retention-days: 30
# Quality gates job
quality-check:
name: Quality Gates
needs: test
runs-on: ubuntu-latest
if: success()
steps:
- name: All tests passed
run: echo "✅ All test matrices completed successfully"