Skip to content

Merge pull request #105 from matronator/dependabot/npm_and_yarn/types… #253

Merge pull request #105 from matronator/dependabot/npm_and_yarn/types…

Merge pull request #105 from matronator/dependabot/npm_and_yarn/types… #253

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@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # 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@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4