Skip to content

Commit

Permalink
test: add bun job to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Codex- committed Aug 25, 2024
1 parent 5489d2c commit 150fafa
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,28 @@ jobs:
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

0 comments on commit 150fafa

Please sign in to comment.