Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/improsocial/impro
An extensible Bluesky client for web impro.social
Something went wrong. Try again.
YAML
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051name: Tests
on: [push]
jobs: unit: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - name: Use Node.js uses: actions/setup-node@v7 with: node-version: "24.x" - run: npm install - run: npm run test:unit
e2e: runs-on: ubuntu-latest strategy: fail-fast: false matrix: shard: [1, 2, 3, 4] steps: - uses: actions/checkout@v7 - name: Use Node.js uses: actions/setup-node@v7 with: node-version: "24.x" - run: npm install - name: Get Playwright version id: playwright-version run: echo "version=$(node -p "require('./node_modules/@playwright/test/package.json').version")" >> "$GITHUB_OUTPUT" - name: Cache Playwright browsers uses: actions/cache@v6 with: path: ~/.cache/ms-playwright key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }} - run: npx playwright install --with-deps --only-shell chromium - run: npm run test:e2e -- --shard=${{ matrix.shard }}/4 - name: Upload test results if: ${{ !cancelled() }} uses: actions/upload-artifact@v7 with: name: e2e-results-shard-${{ matrix.shard }} path: | tests/e2e/.results/ !tests/e2e/.results/.last-run.json include-hidden-files: true if-no-files-found: ignore retention-days: 7