File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 26
26
- name : Setup Node.js
27
27
uses : actions/setup-node@v4
28
28
with :
29
- node-version : ' 18 '
29
+ node-version : ' 20 '
30
30
registry-url : ' https://registry.npmjs.org'
31
31
32
+ - name : Update npm
33
+ run : npm install -g npm@latest
34
+
32
35
- name : Install dependencies
33
36
run : npm ci
34
37
80
83
echo "should-publish=$SHOULD_PUBLISH" >> $GITHUB_OUTPUT
81
84
echo "Should publish: $SHOULD_PUBLISH"
82
85
83
- - name : Debug npm authentication
84
- if : steps.version-check.outputs.should-publish == 'true'
85
- run : |
86
- echo "Checking npm authentication..."
87
- npm whoami || echo "Not authenticated yet"
88
- echo "Registry: $(npm config get registry)"
89
-
90
86
- name : Publish to npm
91
87
if : steps.version-check.outputs.should-publish == 'true'
92
88
run : npm publish --access public --provenance
You can’t perform that action at this time.
0 commit comments