fix biome when dist folder is present
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -23,6 +23,11 @@ jobs:
|
||||
with:
|
||||
name: project
|
||||
path: .
|
||||
- name: Create Build Artifact
|
||||
uses: christopherhx/gitea-upload-artifact@v4
|
||||
with:
|
||||
name: build
|
||||
path: dist
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -38,11 +43,8 @@ jobs:
|
||||
run: bun install -g biome
|
||||
- name: Run Biome lint
|
||||
run: biome lint .
|
||||
- name: Create Build Artifact
|
||||
uses: christopherhx/gitea-upload-artifact@v4
|
||||
with:
|
||||
name: project
|
||||
path: dist
|
||||
- name: Run Biome format check
|
||||
run: biome format .
|
||||
|
||||
build-and-push-docker:
|
||||
needs: [build]
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
"useIgnoreFile": false
|
||||
},
|
||||
"files": {
|
||||
"ignoreUnknown": false
|
||||
"ignoreUnknown": false,
|
||||
"includes": ["!**/dist/**"]
|
||||
},
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
|
||||
Reference in New Issue
Block a user