Skip to content

chore: migrate to beasties #1442

chore: migrate to beasties

chore: migrate to beasties #1442

Workflow file for this run

name: ci
on:
push:
branches:
- main
- renovate/*
- renovate/*
pull_request:
branches:
- main
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [18, 20]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Prepare environment
run: pnpm dev:prepare
- name: Lint
run: pnpm lint:all
- name: Test
run: pnpm vitest run --coverage
- name: Build
run: pnpm prepack
- name: Coverage
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == 20 }}
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}