chore(deps): update dependencies for @vitest/coverage-v8, bumpp, happ… #1017
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: Main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
pull-requests: write | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-test: | |
name: 📚 Main | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm i -g --force corepack && corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
cache: pnpm | |
- name: 📦 Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: 👀 Lint | |
run: pnpm lint | |
- name: 🚀 Build | |
run: pnpm build | |
# - name: 🧪 Test | |
# run: pnpm test | |
# env: | |
# VITE_TEST_DB_URL: ${{ secrets.VITE_TEST_DB_URL }} | |
- name: 🧪 Test with coverage | |
run: pnpm coverage | |
env: | |
VITE_TEST_DB_URL: ${{ secrets.VITE_TEST_DB_URL }} | |
- name: 📝 Upload coverage | |
if: always() | |
uses: davelosert/vitest-coverage-report-action@v2 |