Skip to content

build(deps-dev): bump the eslint group across 1 directory with 4 updates #194

build(deps-dev): bump the eslint group across 1 directory with 4 updates

build(deps-dev): bump the eslint group across 1 directory with 4 updates #194

Workflow file for this run

name: test
on: [push, pull_request]
permissions:
contents: read
jobs:
unit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Use Node.js
uses: actions/setup-node@v6
with:
cache: npm
node-version-file: .nvmrc
- name: Install dependencies
run: npm ci --prefer-offline
- name: Run unit tests
run: npm run test:ci
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Run module tests
run: npm run test:esm
- name: Run integration tests
run: npm run test:integration
integration:
runs-on: ubuntu-latest
strategy:
matrix:
browser: [chromium, firefox, webkit]
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Use Node.js
uses: actions/setup-node@v6
with:
cache: npm
node-version-file: .nvmrc
- name: Install dependencies
run: npm ci --prefer-offline
- name: Install Playwright browsers
run: npx playwright install ${{ matrix.browser == 'webkit' && '--with-deps' || '' }} ${{ matrix.browser }}
- name: Run browser tests on ${{ matrix.browser }}
run: npm test -- --config=vitest.config.browser.mts --browser=${{ matrix.browser }}