Skip to content

Commit e64e954

Browse files
committed
Package moved to Linked API org
1 parent a05f416 commit e64e954

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/merge-main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
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"
@@ -77,6 +77,6 @@ jobs:
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 }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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",

0 commit comments

Comments
 (0)