Skip to content

Commit ffa5495

Browse files
committed
Try to fix node publishing
1 parent 297c50b commit ffa5495

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/scripts/publish-npm-binary.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ fi
5555
cp "target/${TARGET}/release/${binary_name}" "${NPM_DIR}/${node_pkg}/bin/"
5656

5757
# Publish package
58-
cd "${NPM_DIR}/${node_pkg}"
59-
npm publish --access public --dry-run
58+
npm publish "${NPM_DIR}/${node_pkg}" --access public --dry-run
6059

6160
echo "Successfully published ${node_pkg}"

.github/workflows/release_npm.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ jobs:
107107
cd npm/celq
108108
yarn install # requires optional dependencies to be present in the registry
109109
yarn build
110-
npm publish --access public --dry-run
110+
cd ../..
111+
npm publish npm/celq --access public --dry-run
111112
env:
112113
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)