Skip to content

Commit 8a84fe3

Browse files
authored
Merge pull request #193 from Predicate-Labs/fix_release3
fix release 3
2 parents 4531a50 + 2abc090 commit 8a84fe3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
with:
2424
node-version: '20'
2525
registry-url: 'https://registry.npmjs.org'
26+
scope: '@predicate'
27+
always-auth: true
2628

2729
- name: Extract version from tag or input
2830
id: version
@@ -142,6 +144,9 @@ jobs:
142144
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
143145
run: |
144146
set -euo pipefail
147+
echo "=== Token presence (non-secret) ==="
148+
node -e "console.log('NODE_AUTH_TOKEN set:', !!process.env.NODE_AUTH_TOKEN, 'len:', (process.env.NODE_AUTH_TOKEN||'').length)"
149+
echo ""
145150
echo "=== Toolchain ==="
146151
node --version
147152
npm --version
@@ -152,6 +157,9 @@ jobs:
152157
echo ""
153158
echo "=== Auth ==="
154159
npm whoami --registry https://registry.npmjs.org
160+
echo ""
161+
echo "=== Scope access (@predicate) ==="
162+
npm access ls-packages @predicate --registry https://registry.npmjs.org
155163
156164
- name: Publish to npm
157165
run: |

0 commit comments

Comments
 (0)