Skip to content

Commit 7d16dbc

Browse files
committed
update scripts more.
1 parent 913d37d commit 7d16dbc

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
node-version: ${{ matrix.node-version }}
2525
cache: npm
2626
- run: npm ci
27-
- run: npm run lint
27+
- run: npm run check
2828
unit:
2929
runs-on: ubuntu-latest
3030
strategy:

package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,16 @@
257257
"build:release": "npm ci --production && npm install --no-save typescript && tsc -p tsconfig.release.json",
258258
"build": "tsc -p tsconfig.release.json",
259259
"build:watch": "npm run build -- -w",
260-
"format": "biome format --write src spec",
261-
"lint": "biome check src spec",
262-
"lint:quiet": "biome check --quiet src spec",
260+
"check": "biome check src spec",
261+
"check:quiet": "npm run check -- --quiet",
262+
"fix": "npm run check -- --write",
263+
"lint": "npm run check",
264+
"lint:quiet": "npm run check:quiet",
265+
"lint:fix": "npm run fix",
266+
"format": "npm run fix",
263267
"test": "mocha --file ./mocha/setup.ts \"spec/**/*.spec.ts\"",
264268
"test:bin": "./scripts/bin-test/run.sh",
265-
"test:postmerge": "./integration_test/run_tests.sh",
266-
"lint:fix": "biome check --write src spec"
269+
"test:postmerge": "./integration_test/run_tests.sh"
267270
},
268271
"dependencies": {
269272
"@types/cors": "^2.8.5",

0 commit comments

Comments
 (0)