We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4104a22 commit 07f5ab3Copy full SHA for 07f5ab3
1 file changed
.github/workflows/publish.yml
@@ -26,9 +26,12 @@ jobs:
26
- name: Setup Node.js
27
uses: actions/setup-node@v4
28
with:
29
- node-version: '18'
+ node-version: '20'
30
registry-url: 'https://registry.npmjs.org'
31
32
+ - name: Update npm
33
+ run: npm install -g npm@latest
34
+
35
- name: Install dependencies
36
run: npm ci
37
@@ -80,13 +83,6 @@ jobs:
80
83
echo "should-publish=$SHOULD_PUBLISH" >> $GITHUB_OUTPUT
81
84
echo "Should publish: $SHOULD_PUBLISH"
82
85
- - name: Debug npm authentication
- if: steps.version-check.outputs.should-publish == 'true'
- run: |
86
- echo "Checking npm authentication..."
87
- npm whoami || echo "Not authenticated yet"
88
- echo "Registry: $(npm config get registry)"
89
-
90
- name: Publish to npm
91
if: steps.version-check.outputs.should-publish == 'true'
92
run: npm publish --access public --provenance
0 commit comments