diff --git a/.drone.yml b/.drone.yml index e16c3d33e..c3551d6bd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,7 @@ # commands: # - apt update && apt-get install --no-install-recommends -y gcc-multilib g++-multilib bsdtar rpm libopenjp2-tools # - npm install -# - npm install npm -g +# - npm install npm@9 -g # - node_modules/.bin/electron-builder build --x64 # environment: # GH_TOKEN: @@ -42,7 +42,7 @@ # - gem install fpm -v 1.10.1 # - export USE_SYSTEM_FPM="true" # - npm install -# - npm install npm -g +# - npm install npm@9 -g # - node_modules/.bin/electron-builder build --arm64 # environment: # GH_TOKEN: diff --git a/.github/workflows/arm-build.yml b/.github/workflows/arm-build.yml index 6e3847fd0..3161c0429 100644 --- a/.github/workflows/arm-build.yml +++ b/.github/workflows/arm-build.yml @@ -18,7 +18,7 @@ jobs: node-version: '18.15.0' - run: sudo apt update && sudo apt-get install --no-install-recommends -y ruby-full libarchive-tools - run: sudo gem install fpm -v 1.15 - - run: npm install npm -g + - run: npm install npm@9 -g - run: npm install - run: node_modules/.bin/electron-builder build env: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ddec4de6b..14dea7dfa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: '18.15.0' - - run: npm install npm -g + - run: npm install npm@9 -g - run: npm install - run: node_modules/.bin/electron-builder build env: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8472be6e6..f646bbeea 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,7 +23,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: '18.15.0' - - run: npm install npm -g + - run: npm install npm@9 -g - run: npm install - run: npx nyc --reporter=lcov npm test env: