Skip to content

fix: add non-null assertions in helmetData tests; run CI on all branches #11

fix: add non-null assertions in helmetData tests; run CI on all branches

fix: add non-null assertions in helmetData tests; run CI on all branches #11

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Type checks
run: pnpm tsc
- name: Lint
run: pnpm lint
- name: Unit tests
run: pnpm test
- name: SSR E2E tests
run: pnpm run test:e2e:server
e2e-browser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Install Playwright browsers
run: pnpm exec playwright install --with-deps chromium
- name: Browser E2E tests
run: pnpm run test:e2e:browser