mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-12 22:13:12 +08:00
33 lines
593 B
YAML
33 lines
593 B
YAML
name: autofix.ci # Must be named this for autofix.ci to work
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
format:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 📥 Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: 🛠️ Setup Bun
|
|
uses: ./
|
|
|
|
- name: 📦 Install Dependencies
|
|
run: bun install
|
|
|
|
- name: 🧹 Format
|
|
run: |
|
|
bun run format
|
|
bun run build
|
|
|
|
- name: 💾 Commit
|
|
uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
|