-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (38 loc) · 896 Bytes
/
Copy pathbun.yml
File metadata and controls
38 lines (38 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Bun
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
bun-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Bun
uses: shunkakinoki/actions/.github/actions/setup-bun@156beb8dbd9b84135a994da9ea77398d91e33df6
- name: Prepare
run: bun run prepare
- name: Check
run: bun run check
- name: Format
run: bun run format
- name: Lint
run: bun run lint
bun-check:
if: always()
needs:
- bun-lint
runs-on: ubuntu-latest
steps:
- name: Alls Green
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}