mirror of
https://github.com/LukeHagar/dokploy.git
synced 2025-12-06 12:27:49 +00:00
chore(workflow): streamline Biome setup by replacing Node.js and pnpm steps with biomeJs action
This commit is contained in:
16
.github/workflows/biome.yml
vendored
16
.github/workflows/biome.yml
vendored
@@ -13,21 +13,11 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup biomeJs
|
||||||
uses: actions/setup-node@v4
|
uses: biomejs/setup-biome@v2
|
||||||
with:
|
|
||||||
node-version: 20
|
|
||||||
|
|
||||||
- name: Setup pnpm
|
|
||||||
uses: pnpm/action-setup@v4
|
|
||||||
with:
|
|
||||||
version: 9.5.0
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: pnpm install
|
|
||||||
|
|
||||||
- name: Run Biome formatter
|
- name: Run Biome formatter
|
||||||
run: pnpm biome format . --write
|
run: biome format . --write
|
||||||
|
|
||||||
- name: AutoFix
|
- name: AutoFix
|
||||||
uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
|
uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
|
||||||
|
|||||||
Reference in New Issue
Block a user