You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): replace inline shell commands with dedicated validation script
CI workflows incorrectly passed shell operators (&&) as literal script
arguments, causing them to be interpreted as test file filters rather than
separate commands.
Solution:
- Add scripts/ci-validate.mjs to orchestrate test/check/build steps
- Add ci:validate script to package.json
- Update workflows to use ci:validate instead of inline shell commands
- Update provenance workflow SHA for smart script name detection
- Change publish:ci from --skip-checks to --skip-git flag
- Add build artifact validation when skipping build step
Follows Socket project pattern: setup-script calls package.json script that
invokes .mjs file, avoiding shell operators in YAML. The ci: prefix prevents
conflicts with npm lifecycle hooks.
0 commit comments