fix biome when dist folder is present

This commit is contained in:
2025-08-29 13:48:47 +02:00
parent aeb8e836eb
commit a18a1bfc9b
2 changed files with 9 additions and 6 deletions

View File

@@ -23,6 +23,11 @@ jobs:
with: with:
name: project name: project
path: . path: .
- name: Create Build Artifact
uses: christopherhx/gitea-upload-artifact@v4
with:
name: build
path: dist
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -38,11 +43,8 @@ jobs:
run: bun install -g biome run: bun install -g biome
- name: Run Biome lint - name: Run Biome lint
run: biome lint . run: biome lint .
- name: Create Build Artifact - name: Run Biome format check
uses: christopherhx/gitea-upload-artifact@v4 run: biome format .
with:
name: project
path: dist
build-and-push-docker: build-and-push-docker:
needs: [build] needs: [build]

View File

@@ -5,7 +5,8 @@
"useIgnoreFile": false "useIgnoreFile": false
}, },
"files": { "files": {
"ignoreUnknown": false "ignoreUnknown": false,
"includes": ["!**/dist/**"]
}, },
"formatter": { "formatter": {
"enabled": true, "enabled": true,