From a7af550a11cd44ca0381eb8eb2618513315587d3 Mon Sep 17 00:00:00 2001 From: Shpingalet007 <22795961+shpingalet007@users.noreply.github.com> Date: Wed, 18 Jan 2023 15:57:27 +0100 Subject: [PATCH] Update workflows * Update setup-node to v3 * Use node 16 everywhere --- .github/workflows/build.dev.yml | 14 +++++------ .github/workflows/build.release.yml | 4 ++-- .github/workflows/deploy.pulls.dev.yml | 25 +++++++++++++------- .github/workflows/night.bastyon.com.yml | 20 +++++++++------- .github/workflows/night.test.bastyon.com.yml | 20 +++++++++------- .github/workflows/pre.pocketnet.app.yml | 3 ++- .github/workflows/test.pocketnet.app.yml | 5 ++-- 7 files changed, 53 insertions(+), 38 deletions(-) diff --git a/.github/workflows/build.dev.yml b/.github/workflows/build.dev.yml index f422fe1ee6..da15b197d6 100644 --- a/.github/workflows/build.dev.yml +++ b/.github/workflows/build.dev.yml @@ -11,9 +11,9 @@ jobs: - name: Check out Git repository uses: actions/checkout@v1 - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Prepare building run: | npm i @@ -48,9 +48,9 @@ jobs: - name: Save HEAD information run: git --no-pager log --decorate=short --pretty=oneline -n1 > head.txt - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Prepare building run: | apt update && apt install -y binutils rpm @@ -76,9 +76,9 @@ jobs: - name: Check out Git repository uses: actions/checkout@v1 - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Prepare building run: | npm i @@ -104,7 +104,7 @@ jobs: uses: actions/checkout@v1 - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Install Cordova run: | npm i -g cordova@10 diff --git a/.github/workflows/build.release.yml b/.github/workflows/build.release.yml index 1e74956420..a2f053cc42 100644 --- a/.github/workflows/build.release.yml +++ b/.github/workflows/build.release.yml @@ -22,9 +22,9 @@ jobs: uses: actions/checkout@v1 - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Install Linux dependencies if: startsWith(matrix.os, 'ubuntu') diff --git a/.github/workflows/deploy.pulls.dev.yml b/.github/workflows/deploy.pulls.dev.yml index b62c070c1b..3dfda47a3f 100644 --- a/.github/workflows/deploy.pulls.dev.yml +++ b/.github/workflows/deploy.pulls.dev.yml @@ -43,6 +43,10 @@ jobs: uses: actions/download-artifact@v3 with: name: repo.tgz + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v3 + with: + node-version: 16 - name: Prepare run: | tar xzf repo.tgz @@ -60,6 +64,10 @@ jobs: uses: actions/download-artifact@v3 with: name: repo.tgz + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v3 + with: + node-version: 16 - name: Prepare run: | tar xzf repo.tgz @@ -149,9 +157,9 @@ jobs: - name: Unpack artifact run: tar xzf repo.tgz - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Prepare building run: | npm i @@ -189,9 +197,9 @@ jobs: - name: Unpack artifact run: tar xzf repo.tgz - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Prepare building run: | apt update && apt install -y binutils rpm @@ -221,9 +229,9 @@ jobs: - name: Unpack artifact run: tar xzf repo.tgz - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Prepare building run: | npm i @@ -252,9 +260,10 @@ jobs: with: distribution: 'temurin' java-version: '11' - - uses: actions/setup-node@v3 + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Install Cordova run: | npm i -g cordova@10 diff --git a/.github/workflows/night.bastyon.com.yml b/.github/workflows/night.bastyon.com.yml index 977260b89f..d0d0bdd6b1 100644 --- a/.github/workflows/night.bastyon.com.yml +++ b/.github/workflows/night.bastyon.com.yml @@ -13,7 +13,8 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v3 with: node-version: '14' - name: Prepare @@ -34,9 +35,9 @@ jobs: - name: Check out Git repository uses: actions/checkout@v1 - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Prepare building run: | npm i @@ -71,9 +72,9 @@ jobs: - name: Save HEAD information run: git --no-pager log --decorate=short --pretty=oneline -n1 > head.txt - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Prepare building run: | apt update && apt install -y binutils rpm @@ -99,9 +100,9 @@ jobs: - name: Check out Git repository uses: actions/checkout@v1 - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Prepare building run: | npm i @@ -125,9 +126,10 @@ jobs: java-version: '11' - name: Check out Git repository uses: actions/checkout@v1 - - uses: actions/setup-node@v3 + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Install Cordova run: | npm i -g cordova@10 diff --git a/.github/workflows/night.test.bastyon.com.yml b/.github/workflows/night.test.bastyon.com.yml index 17068c3c25..51ab16c563 100644 --- a/.github/workflows/night.test.bastyon.com.yml +++ b/.github/workflows/night.test.bastyon.com.yml @@ -12,7 +12,8 @@ jobs: runs-on: gui steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v3 with: node-version: '14' - name: Prepare @@ -33,9 +34,9 @@ jobs: - name: Check out Git repository uses: actions/checkout@v1 - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Prepare building run: | npm i @@ -70,9 +71,9 @@ jobs: - name: Save HEAD information run: git --no-pager log --decorate=short --pretty=oneline -n1 > head.txt - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Prepare building run: | apt update && apt install -y binutils rpm @@ -98,9 +99,9 @@ jobs: - name: Check out Git repository uses: actions/checkout@v1 - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Prepare building run: | npm i @@ -124,9 +125,10 @@ jobs: java-version: '11' - name: Check out Git repository uses: actions/checkout@v1 - - uses: actions/setup-node@v3 + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Install Cordova run: | npm i -g cordova@10 diff --git a/.github/workflows/pre.pocketnet.app.yml b/.github/workflows/pre.pocketnet.app.yml index f8852f4446..1c077ea7fd 100644 --- a/.github/workflows/pre.pocketnet.app.yml +++ b/.github/workflows/pre.pocketnet.app.yml @@ -10,7 +10,8 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v3 with: node-version: '14' diff --git a/.github/workflows/test.pocketnet.app.yml b/.github/workflows/test.pocketnet.app.yml index 3386b72616..61fce93f18 100644 --- a/.github/workflows/test.pocketnet.app.yml +++ b/.github/workflows/test.pocketnet.app.yml @@ -10,9 +10,10 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v3 with: - node-version: '14' + node-version: 16 - name: Prepare run: |