build(deps-dev): bump vitest and @vitest/coverage-v8 (#454) #426
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: | |
- master | |
- next | |
- rc | |
push: | |
branches: | |
- master | |
- next | |
- rc | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Test / OS ${{ matrix.os }} / Node ${{ matrix.node }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: ['20'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 10 | |
- name: Run CI steps | |
run: | | |
pnpm install | |
pnpm run ci | |
- name: Upload coverage results to Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ./coverage/lcov.info |