Skip to content

Commit

Permalink
use short npm script names
Browse files Browse the repository at this point in the history
also organize them a bit differently
  • Loading branch information
subhoghoshX committed Jul 29, 2024
1 parent 8c39e0f commit 5585465
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/format-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Check formatting
run: npm run format:check
run: npm run format

lint:
runs-on: ubuntu-latest
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Lint code
run: npm run lint:check
run: npm run lint

test:
timeout-minutes: 10
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"scripts": {
"build": "./build.js",
"watch": "./build.js -w",
"lint:check": "biome lint . && tsc --noEmit",
"format:check": "biome format .",
"format:fix": "biome format --write .",
"test": "PW_TEST_HTML_REPORT_OPEN='never' npx playwright test"
"format": "biome format .",
"lint": "biome lint . && tsc --noEmit",
"test": "PW_TEST_HTML_REPORT_OPEN='never' npx playwright test",
"format:fix": "biome format --write ."
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
Expand Down

0 comments on commit 5585465

Please sign in to comment.