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:
|
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]
|
||||||
|
|||||||
@@ -5,7 +5,8 @@
|
|||||||
"useIgnoreFile": false
|
"useIgnoreFile": false
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"ignoreUnknown": false
|
"ignoreUnknown": false,
|
||||||
|
"includes": ["!**/dist/**"]
|
||||||
},
|
},
|
||||||
"formatter": {
|
"formatter": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user