Skip to content

feat: Add Bun and Deno to typescript support check #878

feat: Add Bun and Deno to typescript support check

feat: Add Bun and Deno to typescript support check #878

Workflow file for this run

name: CI
on:
push:
branches:
- main
- master
- next
- 'v*'
paths-ignore:
- 'docs/**'
- '*.md'
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
jobs:
test:
uses: fastify/workflows/.github/workflows/[email protected]
with:
license-check: true
lint: true
bun:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
# The erraneous typod version `5.0.0-aplha` takes priority over .3 as 'p' > 'l'
run: |
bun i --ignore-scripts
bun i -D --ignore-scripts [email protected]
- name: Run types check
run: bun run typescript
- name: Run Jest tests
run: bun run typescript:jest
- name: Run Vitest tests
run: bun run typescript:vitest
- name: Run unit tests
run: bun run unit:bun