Skip to content

Migrate to Vitest, ESM & Lighthouse +11 #1294

Migrate to Vitest, ESM & Lighthouse +11

Migrate to Vitest, ESM & Lighthouse +11 #1294

Workflow file for this run

name: ci
on:
pull_request:
paths-ignore:
- '*.md'
jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}
- name: install
run: npm ci
- name: build
run: npm run nx -- affected:build --base=origin/main --head=HEAD
- name: test
run: npm run nx -- affected:test --parallel=1 --base=origin/main --head=HEAD