Skip to content

Commit 0099a87

Browse files
committed
chore: wip
1 parent dcbf687 commit 0099a87

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222

2323
- name: Install Bun
2424
uses: oven-sh/setup-bun@v2
25+
with:
26+
bun-version: canary
2527

2628
- name: Use cached node_modules
2729
uses: actions/cache@v4
@@ -45,6 +47,8 @@ jobs:
4547

4648
- name: Install Bun
4749
uses: oven-sh/setup-bun@v2
50+
with:
51+
bun-version: canary
4852

4953
- name: Use cached node_modules
5054
uses: actions/cache@v4
@@ -62,14 +66,14 @@ jobs:
6266

6367
test:
6468
runs-on: ubuntu-latest
65-
env:
66-
KRUSTY_CI_DEBUG: '1'
6769

6870
steps:
6971
- uses: actions/checkout@v4
7072

7173
- name: Install Bun
7274
uses: oven-sh/setup-bun@v2
75+
with:
76+
bun-version: canary
7377

7478
- name: Use cached node_modules
7579
uses: actions/cache@v4
@@ -83,6 +87,12 @@ jobs:
8387
run: bun install
8488

8589
- name: Unit Test
90+
run: bun test --timeout 2000
91+
92+
- name: Rerun tests with extended timeout on failure (debug)
93+
if: failure()
94+
env:
95+
KRUSTY_CI_DEBUG: '1'
8696
run: bun test --timeout 60000
8797

8898
publish-commit:
@@ -93,6 +103,8 @@ jobs:
93103

94104
- name: Install Bun
95105
uses: oven-sh/setup-bun@v2
106+
with:
107+
bun-version: canary
96108

97109
- name: Use cached node_modules
98110
uses: actions/cache@v4

0 commit comments

Comments
 (0)