Skip to content

Update node-update.sh #481

Update node-update.sh

Update node-update.sh #481

Workflow file for this run

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