build(deps-dev): bump @vitest/ui from 0.34.3 to 0.34.7 #128
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: | |
push: | |
branches: | |
- '**' | |
paths-ignore: | |
- '*.md' | |
- 'examples/**' | |
- 'build/**' | |
pull_request: | |
branches: | |
- '**' | |
paths-ignore: | |
- '*.md' | |
- 'examples/**' | |
- 'build/**' | |
permissions: | |
contents: read | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Setup node 18 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- run: pnpm install | |
- name: Run unit tests | |
run: pnpm test:coverage | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Setup node 18 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- run: pnpm install | |
- name: Run lint | |
run: pnpm run lint |