File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,12 +34,13 @@ jobs:
3434
3535 - uses : actions/setup-node@v4
3636 with :
37- node-version : 22
37+ node-version : 24
3838 registry-url : https://registry.npmjs.org
3939 cache : npm
4040
4141 - run : npm ci
4242 - run : npm test
43+ - run : echo "node=$(node -v) npm=$(npm -v)"
4344
4445 - name : Configure git
4546 run : |
@@ -98,16 +99,11 @@ jobs:
9899
99100 - name : Publish to npm
100101 if : inputs.dry-run == false
101- run : |
102- # Overwrite .npmrc — remove _authToken so npm uses OIDC Trusted Publishing
103- echo "registry=https://registry.npmjs.org/" > "$NPM_CONFIG_USERCONFIG"
104- npm publish --provenance --access public
102+ run : npm publish --access public
105103
106104 - name : Publish to npm (dry run)
107105 if : inputs.dry-run == true
108- run : |
109- echo "registry=https://registry.npmjs.org/" > "$NPM_CONFIG_USERCONFIG"
110- npm publish --provenance --access public --dry-run
106+ run : npm publish --access public --dry-run
111107
112108 - name : Create GitHub Release
113109 if : inputs.dry-run == false
You can’t perform that action at this time.
0 commit comments