Skip to content

Commit 2ed0587

Browse files
committed
improve: abstract publint name
1 parent cfb9a0c commit 2ed0587

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626
- uses: ./.github/actions/setup
27-
- run: pnpm check:publint
27+
- run: pnpm check:package
2828
types:
2929
runs-on: ubuntu-latest
3030
steps:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
"clean": "tsc --build --clean && rm -rf build",
3939
"test": "vitest",
4040
"prepack": "pnpm build",
41-
"check": "pnpm check:format && pnpm check:lint && pnpm check:types && pnpm check:publint",
41+
"check": "pnpm check:format && pnpm check:lint && pnpm check:types && pnpm check:package",
4242
"check:format": "dprint check",
4343
"check:lint": "eslint . --max-warnings 0",
4444
"check:types": "tsc --noEmit",
45-
"check:publint": "publint run --strict"
45+
"check:package": "publint run --strict"
4646
},
4747
"devDependencies": {
4848
"@stylistic/eslint-plugin": "^4.2.0",

0 commit comments

Comments
 (0)