Skip to content

Commit b39cfff

Browse files
committed
fix(ci): remove redundant cd commands in workflow scripts
The working-directory is already set to 'packages/cli', so the 'cd packages/cli' commands in each script were failing by trying to cd into a non-existent nested directory.
1 parent a46fe68 commit b39cfff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ jobs:
4141
uses: SocketDev/socket-registry/.github/workflows/ci.yml@d8ff3b0581d799466cfbf150f715c1a4bf9f84a5 # 2025-10-23
4242
with:
4343
working-directory: 'packages/cli'
44-
test-setup-script: 'cd packages/cli && rm -rf node_modules/.vite && pnpm run build'
45-
lint-script: 'cd packages/cli && pnpm run check'
46-
type-check-script: 'cd packages/cli && pnpm run type'
47-
test-script: ${{ inputs.skip-tests && 'echo "Tests skipped"' || 'cd packages/cli && pnpm run test:unit' }}
44+
test-setup-script: 'rm -rf node_modules/.vite && pnpm run build'
45+
lint-script: 'pnpm run check'
46+
type-check-script: 'pnpm run type'
47+
test-script: ${{ inputs.skip-tests && 'echo "Tests skipped"' || 'pnpm run test:unit' }}
4848
node-versions: ${{ inputs.node-versions || '[20, 22, 24]' }}
4949
os-versions: '["ubuntu-latest", "macos-latest", "windows-latest"]'
5050
fail-fast: false

0 commit comments

Comments
 (0)