Skip to content

Commit cd3a4af

Browse files
committed
npm publish
1 parent 286406d commit cd3a4af

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/push_dist_to_npm.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
uses: actions/setup-node@v4
2121
with:
2222
node-version: v24.12.0
23+
registry-url: https://registry.npmjs.org
24+
scope: '@graphhopper' # your package scope
25+
publish-auth-token: ${{ steps.npm-oidc.outputs.token }}
2326

2427
- name: Build
2528

@@ -33,4 +36,4 @@ jobs:
3336
# no dependencies or scripts in package.json (they should not be installed when installing the package, because they are all included in the bundle already)
3437
node -e "const packageJson=require('./package.json'); packageJson.scripts={}; packageJson.dependencies={}; packageJson.devDependencies={}; require('fs').writeFileSync('package.json', JSON.stringify(packageJson, null, 4));"
3538
# we need to set the access to public, because organization scoped packages are private by default
36-
npm publish --provenance --access public
39+
npm publish --access public

0 commit comments

Comments
 (0)