Skip to content

Commit dd6db74

Browse files
committed
chore: remove redundant -ci script aliases
Remove duplicate script aliases that just forward to base commands: - lint-ci → use 'lint' in CI - test-ci → use 'vitest run' in CI - type-ci → use 'check' in CI Update CI workflow to call base commands directly. This simplifies the scripts section and follows the pattern from socket-cli.
1 parent 53e645e commit dd6db74

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
uses: SocketDev/socket-registry/.github/workflows/ci.yml@d8ff3b0581d799466cfbf150f715c1a4bf9f84a5 # 2025-10-23
2121
with:
2222
fail-fast: false
23-
lint-script: 'pnpm run lint-ci'
23+
lint-script: 'pnpm run lint'
2424
node-versions: '[20, 22, 24]'
2525
os-versions: '["ubuntu-latest", "windows-latest"]'
26-
test-script: 'pnpm run test-ci'
26+
test-script: 'vitest run'
2727
test-setup-script: 'pnpm run build'
28-
type-check-script: 'pnpm run type-ci'
28+
type-check-script: 'pnpm run check'
2929
type-check-setup-script: 'pnpm run build'

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -731,12 +731,9 @@
731731
"fix": "node scripts/lint.mjs --fix",
732732
"fix:build": "node scripts/fix-build.mjs",
733733
"lint": "node scripts/lint.mjs",
734-
"lint-ci": "pnpm run lint",
735734
"prepare": "husky",
736735
"prepublishOnly": "pnpm run build",
737736
"test": "node scripts/test.mjs",
738-
"test-ci": "vitest run",
739-
"type-ci": "pnpm run check",
740737
"update": "node scripts/update.mjs"
741738
},
742739
"devDependencies": {

0 commit comments

Comments
 (0)