File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6666 id : version-check
6767 run : |
6868 PACKAGE_VERSION=$(node -p "require('./package.json').version")
69- NPM_VERSION=$(npm view linkedapi- node version 2>/dev/null || echo "0.0.0")
69+ NPM_VERSION=$(npm view @ linkedapi/ node version 2>/dev/null || echo "0.0.0")
7070 if [ "$PACKAGE_VERSION" != "$NPM_VERSION" ]; then
7171 echo "should_publish=true" >> $GITHUB_OUTPUT
7272 echo "Version changed: $NPM_VERSION -> $PACKAGE_VERSION"
7777
7878 - name : Publish to npm
7979 if : steps.version-check.outputs.should_publish == 'true'
80- run : npm publish
80+ run : npm publish --access public
8181 env :
8282 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
2- "name" : " linkedapi- node" ,
2+ "name" : " @ linkedapi/ node" ,
33 "version" : " 1.2.15" ,
44 "description" : " Control your LinkedIn accounts and retrieve real-time data, all through this Node.js SDK." ,
55 "main" : " dist/index.js" ,
You can’t perform that action at this time.
0 commit comments