Skip to content

Commit 7464807

Browse files
committed
Compact CI config
1 parent ae59884 commit 7464807

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,12 @@ jobs:
55
build:
66
name: Build and test
77
runs-on: ubuntu-latest
8-
98
steps:
10-
- name: Checkout repo
11-
uses: actions/checkout@v3
12-
13-
- name: Set up Bun
14-
uses: oven-sh/setup-bun@v1
15-
with:
16-
bun-version: latest
17-
18-
- name: Install dependencies
19-
run: bun install
20-
21-
- name: Build
22-
run: bun run build
23-
24-
- name: Test
25-
run: bun test
26-
9+
- uses: actions/checkout@v3
10+
- uses: oven-sh/setup-bun@v1
11+
- run: bun install --frozen-lockfile
12+
- run: bun run build
13+
- run: bun run test
2714
# TODO: Upload to Codecov once Bun outputs lcov (https://github.com/oven-sh/bun/issues/4015)
2815
# - name: Upload coverage to Codecov
2916
# uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)