update package and use bun instead of cli
All checks were successful
Code quality checks / quality (push) Successful in 8s

This commit is contained in:
creations 2025-04-10 06:15:43 -04:00
parent 33c8404dc6
commit 3f170a796f
Signed by: creations
GPG key ID: 8F553AA4320FC711
2 changed files with 9 additions and 14 deletions

View file

@ -11,17 +11,12 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install Biome - name: Install Bun
run: | run: |
curl -L https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%402.0.0-beta.1/biome-linux-x64 -o biome curl -fsSL https://bun.sh/install | bash
chmod +x biome export BUN_INSTALL="$HOME/.bun"
mv biome /usr/local/bin/biome export PATH="$BUN_INSTALL/bin:$PATH"
echo "$BUN_INSTALL/bin" >> $GITHUB_PATH
- name: Check Config existence - name: Run Biome via Bun
run: | run: bun run lint
if [ ! -f biome.json ]; then
echo "biome.json not found"
fi
- name: Run Biome
run: biome ci .

View file

@ -11,7 +11,7 @@
}, },
"devDependencies": { "devDependencies": {
"@biomejs/biome": "^1.9.4", "@biomejs/biome": "^1.9.4",
"@types/bun": "^1.2.8", "@types/bun": "^1.2.9",
"@types/ejs": "^3.1.5", "@types/ejs": "^3.1.5",
"globals": "^16.0.0" "globals": "^16.0.0"
}, },
@ -21,7 +21,7 @@
"dependencies": { "dependencies": {
"ejs": "^3.1.10", "ejs": "^3.1.10",
"isomorphic-dompurify": "^2.23.0", "isomorphic-dompurify": "^2.23.0",
"marked": "^15.0.7", "marked": "^15.0.8",
"node-vibrant": "^4.0.3" "node-vibrant": "^4.0.3"
} }
} }