ins-queue-actions 1.2.105 → 1.2.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -55,26 +55,6 @@ jobs:
|
|
|
55
55
|
- name: Fetch the latest code
|
|
56
56
|
run: git pull origin main # Ensures that the latest version is fetched from the main branch.
|
|
57
57
|
|
|
58
|
-
- name: Debug npm configuration
|
|
59
|
-
run: |
|
|
60
|
-
echo "npm version: $(npm --version)"
|
|
61
|
-
echo "Registry: $(npm config get registry)"
|
|
62
|
-
echo "Checking temp .npmrc (created by setup-node):"
|
|
63
|
-
cat $NPM_CONFIG_USERCONFIG 2>/dev/null || echo "No temp .npmrc found"
|
|
64
|
-
echo ""
|
|
65
|
-
echo "Whoami check:"
|
|
66
|
-
npm whoami || echo "Not authenticated"
|
|
67
|
-
echo ""
|
|
68
|
-
echo "NODE_AUTH_TOKEN status:"
|
|
69
|
-
if [ -n "$NODE_AUTH_TOKEN" ]; then
|
|
70
|
-
echo "Token is SET (this should NOT be set for Trusted Publishing)"
|
|
71
|
-
else
|
|
72
|
-
echo "Token is NOT set (good for Trusted Publishing)"
|
|
73
|
-
fi
|
|
74
|
-
|
|
75
58
|
- name: Publish to npm
|
|
76
|
-
run:
|
|
77
|
-
|
|
78
|
-
unset NODE_AUTH_TOKEN
|
|
79
|
-
npm config delete //registry.npmjs.org/:_authToken || true
|
|
80
|
-
npm publish --access public
|
|
59
|
+
run: npm publish --access public
|
|
60
|
+
# Trusted Publishing (OIDC) is used automatically - no token needed
|