Skip to content

chore: update bun install commands to ignore scripts in workflows #56

chore: update bun install commands to ignore scripts in workflows

chore: update bun install commands to ignore scripts in workflows #56

Workflow file for this run

name: Test Coverage
on:
push:
branches: [ main ]
pull_request:
branches: [ '**' ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --ignore-scripts
- name: Run tests with coverage
run: bun test --coverage --coverage-reporter=lcov --coverage-dir=./coverage
- name: Upload coverage to Codecov
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info
fail_ci_if_error: true
verbose: true