Update node-update.sh #481
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: iobroker npx install Windows 64bit Build | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-winnpx | |
cancel-in-progress: true | |
jobs: | |
test-windows-install: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: prepare-install | |
run: | | |
npm i --omit=dev | |
npm link | |
cd .. | |
mkdir iobroker-inst | |
cd iobroker-inst | |
- name: install | |
run: | | |
cd .. | |
cd iobroker-inst | |
npx iobroker | |
#- name: prepare-fix | |
# run: | | |
# npm unlink | |
# ((Get-Content -path package.json -Raw) -replace '@iobroker/install','@iobroker/fix') | Set-Content -Path package.json | |
# npm link | |
#- name: fix | |
# run: | | |
# cd .. | |
# cd iobroker-inst | |
# npx iobroker | |
#- name: test | |
# run: node test |