From 5e9ef7c02fbec7c414de7dc95221e3e290cdeb3c Mon Sep 17 00:00:00 2001 From: Jan Hovancik Date: Tue, 13 Feb 2024 15:39:17 +0100 Subject: [PATCH] Update NPM and PYTHON --- .github/workflows/arm-build.yml | 2 +- .github/workflows/build.yml | 5 +++-- .github/workflows/snap-build.yml | 3 ++- .github/workflows/tests.yml | 5 +++-- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/arm-build.yml b/.github/workflows/arm-build.yml index 9ca5f598b..7530481fd 100644 --- a/.github/workflows/arm-build.yml +++ b/.github/workflows/arm-build.yml @@ -18,7 +18,7 @@ jobs: node-version: '18.18.2' - 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@9 -g + - run: npm install npm -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 c1f302657..69fafe76d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,11 +20,12 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - uses: actions/setup-node@v3 with: node-version: '18.18.2' - - run: npm install npm@9 -g + - run: pip install setuptools + - run: npm install npm -g - run: npm install - run: node_modules/.bin/electron-builder build env: diff --git a/.github/workflows/snap-build.yml b/.github/workflows/snap-build.yml index 0917c0ae4..defa89b2f 100644 --- a/.github/workflows/snap-build.yml +++ b/.github/workflows/snap-build.yml @@ -14,7 +14,8 @@ jobs: - uses: actions/setup-node@v3 with: node-version: '18.18.2' - - run: npm install -g npm@9 + - run: pip install setuptools + - run: npm install -g npm - run: npm install - run: node_modules/.bin/electron-builder --linux snap --publish=never env: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e9470f2ce..0d971b301 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -39,12 +39,13 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - name: Use Node.js uses: actions/setup-node@v3 with: node-version: '18.18.2' - - run: npm install npm@9 -g + - run: pip install setuptools + - run: npm install npm -g - run: npm install - name: Install missing usocket if: matrix.os == 'ubuntu-latest'