Skip to content

Commit 9adf6f4

Browse files
committed
Added NPM token test again, removed debug
1 parent 39c21e3 commit 9adf6f4

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@ jobs:
2828
with:
2929
node-version: '22'
3030
registry-url: 'https://registry.npmjs.org'
31-
token: ${{ secrets.GITHUB_TOKEN }}
32-
33-
- name: Configure NPM for OIDC
34-
run: |
35-
cat > ~/.npmrc << EOF
36-
@crispthinking:registry=https://registry.npmjs.org/
37-
registry=https://registry.npmjs.org/
38-
EOF
3931

4032
- name: Set version from tag or input
4133
run: |
@@ -62,11 +54,10 @@ jobs:
6254
- run: |
6355
echo "Publishing version: $PACKAGE_VERSION"
6456
cat package.json | grep -A2 '"name"'
65-
echo "Checking npm config:"
66-
npm config get registry
67-
npm config get //registry.npmjs.org/:_authToken
6857
npm ci
6958
npm run codegen
7059
npm run build:release
7160
npm publish --provenance --access public
7261
name: Build and Publish
62+
env:
63+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)