Skip to content

Shared config for prettier, eslint and tsconfig for bun #37

Shared config for prettier, eslint and tsconfig for bun

Shared config for prettier, eslint and tsconfig for bun #37

Workflow file for this run

name: Test
on:
pull_request: # Trigger for pull requests.
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
push:
branches:
- main
workflow_dispatch: # Allows for manual triggering.
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- uses: pnpm/action-setup@v3
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Run unit tests
run: pnpm test