Skip to content

Commit

Permalink
[CI] prevent build gyp
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao committed Jan 24, 2025
1 parent 8f93d76 commit f8b1478
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@ jobs:
export PKG_VER=$(npm pkg get version | xargs)
export SHORT_HASH=$(git rev-parse --short HEAD)
npm pkg set 'version'=${PKG_VER}-dev-${SHORT_HASH}
# Prevent build node-gyp
rm -f hldebug-wrapper/binding.gyp
npm install
# Double install workaround for node-addon-api invalid error (instead of deduped), see https://github.com/npm/cli/issues/4859
npm install
cd hldebug-wrapper && rm -rf build && cd ..
npm list node-addon-api
make package
cp haxe-hl-${PKG_VER}-dev-${SHORT_HASH}.vsix haxe-hl-dev.vsix
Expand Down

0 comments on commit f8b1478

Please sign in to comment.