this repo has no description hallaine.com

feat(ci): biome

+7 -13
+6 -12
.woodpecker.yml
··· 2 2 event: push 3 3 4 4 steps: 5 - production: 6 - image: node 7 - when: 8 - branch: main 9 - environment: 10 - VERCEL_TOKEN: 11 - from_secret: vercel_token 5 + biome: 6 + image: ghcr.io/biomejs/biome:2.4.4 12 7 commands: 13 - - npx vercel --yes --token=$VERCEL_TOKEN --prod 8 + - biome check 14 9 15 - preview: 10 + deploy: 16 11 image: node 17 12 when: 18 - branch: 19 - exclude: [main] 13 + branch: main 20 14 environment: 21 15 VERCEL_TOKEN: 22 16 from_secret: vercel_token 23 17 commands: 24 - - npx vercel --yes --token=$VERCEL_TOKEN 18 + - npx vercel --yes --token=$VERCEL_TOKEN $([ "$CI_COMMIT_BRANCH" = "main" ] && echo "--prod")
+1 -1
biome.json
··· 1 1 { 2 - "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json", 2 + "$schema": "https://biomejs.dev/schemas/2.4.4/schema.json", 3 3 "vcs": { 4 4 "enabled": true, 5 5 "clientKind": "git",