Skip to content

chore(deps): update root - autoclosed #77

chore(deps): update root - autoclosed

chore(deps): update root - autoclosed #77

Workflow file for this run

name: Main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
pull-requests: write
contents: read
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@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: '18'
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: postgres://postgres:postgres@localhost:5432
- name: πŸ“ Upload coverage
if: always()
uses: davelosert/vitest-coverage-report-action@v2