We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7214c9 commit aaf73a5Copy full SHA for aaf73a5
1 file changed
.github/workflows/nodejs-publish.yml
@@ -34,17 +34,19 @@ jobs:
34
env:
35
HUSKY: 0
36
37
- - name: Authenticate to npm
+ - name: Build
38
+ run: pnpm -w build
39
+
40
+ - name: Verify npm authentication
41
run: |
- printf "//registry.npmjs.org/:_authToken=${NPM_TOKEN}\n" >> ~/.npmrc
42
+ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
43
+ npm whoami
44
45
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
46
- - name: Build
- run: pnpm -w build
-
47
- name: Publish with Changesets
48
run: pnpm release
49
50
NPM_CONFIG_PROVENANCE: true
51
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
52
0 commit comments