Skip to content

Commit 1dff1b1

Browse files
committed
make relevant CI output show up in different step
1 parent c8f4b7b commit 1dff1b1

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ jobs:
1111
uses: actions/checkout@v3
1212
- name: Install bun
1313
uses: oven-sh/setup-bun@v1
14+
- name: Install dependencies
15+
run: bun install
1416
- name: Check types
15-
run: |
16-
bun install
17-
bun run compile
17+
run: bun run compile
1818
lint:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout repository
2222
uses: actions/checkout@v3
2323
- name: Install bun
2424
uses: oven-sh/setup-bun@v1
25+
- name: Install dependencies
26+
run: bun install
2527
- name: Lint
26-
run: |
27-
bun install
28-
bun run eslint
28+
run: bun run eslint
2929

3030
format:
3131
runs-on: ubuntu-latest
@@ -34,10 +34,10 @@ jobs:
3434
uses: actions/checkout@v3
3535
- name: Install bun
3636
uses: oven-sh/setup-bun@v1
37+
- name: Install dependencies
38+
run: bun install
3739
- name: Format
38-
run: |
39-
bun install
40-
bun prettier . --check
40+
run: bun prettier . --check
4141

4242
create-artifact:
4343
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)