docs: update discord invite #1681
Workflow file for this run
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: Partytown CI | |
on: [push, pull_request] | |
jobs: | |
test-chromium: | |
name: Test Chromium (Ubuntu) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
- uses: pnpm/action-setup@v4.0.0 | |
- name: Setup Node | |
uses: actions/setup-node@v4.0.2 | |
with: | |
node-version: 20.10.0 | |
cache: 'pnpm' | |
registry-url: https://registry.npmjs.org/ | |
- run: corepack enable | |
- name: Install NPM Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build | |
run: npm run build | |
- name: Install Chromium Playwright | |
run: npx playwright install chromium && npx playwright install-deps chromium | |
- name: Run Chromium E2E Tests (Service Worker) | |
run: npm run test.chromium | |
- name: Run Chromium E2E Tests (Atomics) | |
run: npm run test.atomics | |
- name: Run Unit Tests | |
run: npm run test.unit | |
- name: Upload Chromium E2E Test Videos | |
uses: actions/upload-artifact@v4.3.1 | |
if: always() | |
with: | |
name: Chromium E2E Test Videos | |
path: tests/videos | |
test-webkit: | |
name: Test WebKit (MacOS) | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
- uses: pnpm/action-setup@v4.0.0 | |
- name: Setup Node | |
uses: actions/setup-node@v4.0.2 | |
with: | |
node-version: 20.10.0 | |
cache: 'pnpm' | |
registry-url: https://registry.npmjs.org/ | |
- run: corepack enable | |
- name: Install NPM Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build | |
run: npm run build | |
- name: Install WebKit Playwright | |
run: npx playwright install webkit && npx playwright install-deps webkit | |
- name: Run WebKit E2E Tests | |
run: npm run test.webkit | |
- name: Upload WebKit E2E Test Videos | |
uses: actions/upload-artifact@v4.3.1 | |
if: always() | |
with: | |
name: WebKit E2E Test Videos Videos | |
path: tests/videos | |
benchmark-chromium: | |
name: Benchmark Chromium (Ubuntu) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
- uses: pnpm/action-setup@v4.0.0 | |
- name: Setup Node | |
uses: actions/setup-node@v4.0.2 | |
with: | |
node-version: 20.10.0 | |
cache: 'pnpm' | |
registry-url: https://registry.npmjs.org/ | |
- run: corepack enable | |
- name: Install NPM Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build | |
run: npm run build | |
- name: Install Chromium Playwright | |
run: npx playwright install chromium && npx playwright install-deps chromium | |
- name: Run Chromium Benchmark | |
run: npm run benchmark | |
- name: Upload Chromium Benchmark Screenshots | |
uses: actions/upload-artifact@v4.3.1 | |
if: always() | |
with: | |
name: Chromium Benchmark Screenshots | |
path: tests/benchmarks/screenshots |