We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a76953 commit 5623241Copy full SHA for 5623241
.github/workflows/publish.yml
@@ -59,6 +59,11 @@ jobs:
59
- name: Test
60
run: pnpm test
61
62
+ - name: Configure NPM authentication
63
+ run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
64
+ env:
65
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN_PADDLE_NODE_SDK}}
66
+
67
- name: Check version and publish
68
run: |
69
PACKAGE_NAME=$(node -p "require('./package.json').name")
@@ -75,5 +80,3 @@ jobs:
75
80
else
76
81
pnpm publish --access public
77
82
fi
78
- env:
79
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments