We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6990d6b + 7b2fda2 commit 86df2ebCopy full SHA for 86df2eb
.github/workflows/format.yml
@@ -13,14 +13,21 @@ jobs:
13
steps:
14
- uses: actions/checkout@v4
15
16
- - name: Setup Node.js
17
- uses: actions/setup-node@v4
+ - name: Setup Bun
+ uses: oven-sh/setup-bun@v2
18
with:
19
- node-version: '20'
20
- cache: 'npm'
+ bun-version: latest
+
21
+ - name: Cache Bun dependencies
22
+ uses: actions/cache@v4
23
+ with:
24
+ path: ~/.bun/install/cache
25
+ key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
26
+ restore-keys: |
27
+ ${{ runner.os }}-bun-
28
29
- name: Install dependencies
- run: npm ci
30
+ run: bun install --frozen-lockfile
31
32
- name: Check formatting
- run: npm run format:check
33
+ run: bun run format:check
0 commit comments