Skip to content

Merge pull request #67 from BioNGFF/fix-build-absolute-paths #177

Merge pull request #67 from BioNGFF/fix-build-absolute-paths

Merge pull request #67 from BioNGFF/fix-build-absolute-paths #177

Workflow file for this run

name: Build & Test
on:
push:
pull_request:
branches:
- main
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
fetch-depth: 0
token: ${{ secrets.GH_PAT }}
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.5.0
run_install: true
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Typecheck
run: pnpm check
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test -- --coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info
fail_ci_if_error: true