Skip to content

Commit

Permalink
fix ci setting
Browse files Browse the repository at this point in the history
  • Loading branch information
toiroakr committed Dec 28, 2024
1 parent 65c347a commit b69fc76
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/lint.yaml → .github/workflows/biome.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: Biome

on:
push:
Expand All @@ -22,8 +22,4 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm test -- --run
- uses: ./.github/workflows/actions/coverage-report
with:
token: ${{secrets.GITHUB_TOKEN}}
if: startsWith(${{ matrix.node-version }}, '16.')
- run: npx biome check
3 changes: 1 addition & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Release
on:
workflow_run:
workflows:
- Test
workflows: ["Biome", "Test"]
branches:
- main
types:
Expand Down
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"*.*": "biome check --write"
"*.{ts,mts,js,mjs,json}": "biome check --write"
}
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false,
"ignoreUnknown": true,
"ignore": [],
"include": ["src/**/*.*", "samples/*/src/*.*"]
},
Expand Down

0 comments on commit b69fc76

Please sign in to comment.