mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-13 06:53:14 +08:00
ci(format): use bun
This commit is contained in:
parent
68643ea879
commit
53e6487b6e
12
.github/workflows/format.yml
vendored
12
.github/workflows/format.yml
vendored
@ -17,18 +17,16 @@ jobs:
|
|||||||
- name: 📥 Checkout
|
- name: 📥 Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: 🛠️ Setup Node
|
- name: 🛠️ Setup Bun
|
||||||
uses: actions/setup-node@v4
|
uses: ./
|
||||||
with:
|
|
||||||
node-version: 20.x
|
|
||||||
|
|
||||||
- name: 📦 Install Dependencies
|
- name: 📦 Install Dependencies
|
||||||
run: npm install
|
run: bun install
|
||||||
|
|
||||||
- name: 🧹 Format
|
- name: 🧹 Format
|
||||||
run: |
|
run: |
|
||||||
npm run format
|
bun run format
|
||||||
npm run build
|
bun run build
|
||||||
|
|
||||||
- name: 💾 Commit
|
- name: 💾 Commit
|
||||||
uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
|
uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user