File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,22 @@ jobs:
1414 - uses : pnpm/action-setup@v4
1515 - uses : actions/setup-node@v4
1616 with :
17- node-version : 22
18- registry-url : https://registry.npmjs.org/
17+ node-version : 24
18+ - run : npm config set registry https://registry.npmjs.org/
1919 - run : pnpm install --frozen-lockfile
2020 - run : pnpm build
2121 - run : pnpm test
2222 - name : Verify packages built
2323 run : |
24- # CLI has main.js, others have index.js
2524 [ -f "packages/cli/dist/main.js" ] || { echo "ERROR: CLI dist/main.js missing"; exit 1; }
2625 [ -f "packages/core/dist/index.js" ] || { echo "ERROR: core dist/index.js missing"; exit 1; }
2726 [ -f "packages/proxy/dist/index.js" ] || { echo "ERROR: proxy dist/index.js missing"; exit 1; }
2827 [ -f "packages/redact/dist/index.js" ] || { echo "ERROR: redact dist/index.js missing"; exit 1; }
2928 [ -f "packages/logger/dist/index.js" ] || { echo "ERROR: logger dist/index.js missing"; exit 1; }
3029 echo "All packages built successfully"
31- - run : pnpm publish --recursive --access public --provenance --no-git-checks
30+ - name : Publish to npm
31+ run : |
32+ for pkg in packages/core packages/logger packages/proxy packages/redact packages/cli; do
33+ echo "=== Publishing $pkg ==="
34+ (cd "$pkg" && npm publish --access public)
35+ done
You can’t perform that action at this time.
0 commit comments