-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |