mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-17 12:08:22 +02:00
ci(format): use bun
This commit is contained in:
parent
68643ea879
commit
53e6487b6e
1 changed files with 5 additions and 7 deletions
12
.github/workflows/format.yml
vendored
12
.github/workflows/format.yml
vendored
|
@ -17,18 +17,16 @@ jobs:
|
|||
- name: 📥 Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 🛠️ Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20.x
|
||||
- name: 🛠️ Setup Bun
|
||||
uses: ./
|
||||
|
||||
- name: 📦 Install Dependencies
|
||||
run: npm install
|
||||
run: bun install
|
||||
|
||||
- name: 🧹 Format
|
||||
run: |
|
||||
npm run format
|
||||
npm run build
|
||||
bun run format
|
||||
bun run build
|
||||
|
||||
- name: 💾 Commit
|
||||
uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue