update package and use bun instead of cli
All checks were successful
Code quality checks / quality (push) Successful in 8s
All checks were successful
Code quality checks / quality (push) Successful in 8s
This commit is contained in:
parent
33c8404dc6
commit
3f170a796f
2 changed files with 9 additions and 14 deletions
|
@ -11,17 +11,12 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Biome
|
||||
- name: Install Bun
|
||||
run: |
|
||||
curl -L https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%402.0.0-beta.1/biome-linux-x64 -o biome
|
||||
chmod +x biome
|
||||
mv biome /usr/local/bin/biome
|
||||
curl -fsSL https://bun.sh/install | bash
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
echo "$BUN_INSTALL/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Check Config existence
|
||||
run: |
|
||||
if [ ! -f biome.json ]; then
|
||||
echo "biome.json not found"
|
||||
fi
|
||||
|
||||
- name: Run Biome
|
||||
run: biome ci .
|
||||
- name: Run Biome via Bun
|
||||
run: bun run lint
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.9.4",
|
||||
"@types/bun": "^1.2.8",
|
||||
"@types/bun": "^1.2.9",
|
||||
"@types/ejs": "^3.1.5",
|
||||
"globals": "^16.0.0"
|
||||
},
|
||||
|
@ -21,7 +21,7 @@
|
|||
"dependencies": {
|
||||
"ejs": "^3.1.10",
|
||||
"isomorphic-dompurify": "^2.23.0",
|
||||
"marked": "^15.0.7",
|
||||
"marked": "^15.0.8",
|
||||
"node-vibrant": "^4.0.3"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue