Skip to content

Commit

Permalink
ci: 🎡 fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
denghongcai committed Dec 18, 2024
1 parent a3a6bbe commit 2882de8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,14 @@ jobs:
sudo apt-get install -y g++
echo "CXX=g++" >> $GITHUB_ENV
- name: Install dependencies
- name: Install
run: |
npm install --build-from-source
npm test
- name: Before Build
- name: Publish
env:
NODE_PRE_GYP_GITHUB_TOKEN: ${{ secrets.NODE_PRE_GYP_GITHUB_TOKEN }}
run: |
if [[ $PUBLISH_BINARY == true ]]; then node-pre-gyp package; node-pre-gyp-github publish --release; fi;
./node_modules/.bin/node-pre-gyp clean
Expand Down

0 comments on commit 2882de8

Please sign in to comment.