Skip to content

Commit

Permalink
install latest node-gyp
Browse files Browse the repository at this point in the history
  • Loading branch information
ab77 committed Jan 4, 2023
1 parent 17d71b3 commit 0b8447b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/actions/publish/action.yml
Expand Up @@ -39,15 +39,12 @@ runs:
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.NODE_VERSION }}
#cache: npm
cache: npm

- name: Install packages
- name: Install package(s)
if: runner.os == 'Windows'
shell: bash
run: |
choco install \
yq \
7zip.install
run: choco install yq

# FIXME: resinci-deploy is not actively maintained
# https://github.com/product-os/resinci-deploy
Expand Down
13 changes: 12 additions & 1 deletion .github/actions/test/action.yml
Expand Up @@ -26,7 +26,18 @@ runs:
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.NODE_VERSION }}
#cache: npm
cache: npm

- name: Install node-gyp
if: runner.os == 'Windows'
shell: bash
run: |
npm install -g node-gyp
find "$(dirname $(which node))/.." -type f -name node-gyp.js \
| xargs -I{} node {} install
node-gyp --version
- name: Test release
shell: bash
Expand Down

0 comments on commit 0b8447b

Please sign in to comment.