Skip to content

chore(deps): lock file maintenance #1304

chore(deps): lock file maintenance

chore(deps): lock file maintenance #1304

Workflow file for this run

name: ci
on:
push:
branches:
- main
- 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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # 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 }}