Skip to content

Version Packages

Version Packages #5037

Workflow file for this run

name: Coverage
on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
defaults:
run:
shell: bash
jobs:
Coverage:
name: Coveralls
runs-on: ubuntu-latest
timeout-minutes: 9
services:
postgres:
image: postgres:17.1-alpine3.20
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: your_password
POSTGRES_DB: testdb
ports:
- 5432:5432
options: >-
--health-cmd pg_isready --health-interval 1s --health-timeout 0.5s --health-retries 30
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 2
- name: Set up pnpm
uses: pnpm/[email protected]
- name: Set up Node
uses: actions/[email protected]
with:
node-version-file: .node-version
cache: "pnpm"
- name: Set up Bun
uses: oven-sh/[email protected]
with:
bun-version-file: .bun-version
- name: Install Dependencies
run: pnpm i
- name: Set up Git
run: |
git config --global init.defaultBranch main
git config --global user.email "[email protected]"
git config --global user.name "Jeremy Banka"
- name: Test
run: bun test:coverage
- name: Coverage
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}