Skip to content

Merge pull request #146 from matronator/dependabot/npm_and_yarn/vites… #366

Merge pull request #146 from matronator/dependabot/npm_and_yarn/vites…

Merge pull request #146 from matronator/dependabot/npm_and_yarn/vites… #366

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: Build and test on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['18.12.x']
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: ${{ matrix.node }}
- name: Install deps and build (with cache)
run: |
npm i -g pnpm
pnpm i --frozen-lockfile
- name: Test
run: npm run test --ci --coverage --maxWorkers=2
- name: Build
run: npm run build
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5