Skip to content

Rework variants to reduce bundle size #138

Rework variants to reduce bundle size

Rework variants to reduce bundle size #138

Workflow file for this run

name: Test pull request
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
jobs:
test-node:
name: Node
runs-on: ubuntu-latest
# Run only on non-merged non-draft mergeable pull requests
if: |
(
!github.event.pull_request.draft
&& !github.event.pull_request.merged
&& github.event.pull_request.merge_commit_sha != null
)
steps:
- name: Check out merge commit of pull request
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
submodules: true
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
- run: npm run test:types
- run: npm run test:unit
- run: npm run test:wpt:node
- run: npm run test:bundlers