Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1004 from EOSIO/ci_nodejs_16
Browse files Browse the repository at this point in the history
Updating workflow nodejs versions to v16, replacing the matrix strategy
  • Loading branch information
Brad Hart authored Aug 24, 2021
2 parents 1fa93d4 + 5725e5e commit 99d21e8
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 65 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ jobs:
ci:
name: CI
runs-on: ubuntu-18.04
strategy:
matrix:
node-version: [15.14.0]
steps:
- name: Check for GIT_API_KEY
id: check_token
Expand All @@ -28,10 +25,10 @@ jobs:
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
token: ${{ github.token }}
- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js v16.x.x
uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f
with:
node-version: ${{ matrix.node-version }}
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Update
run: |
Expand Down
63 changes: 18 additions & 45 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,16 @@ jobs:
integration-test-release_21_0_x-release_2_0_x:
name: Integration Test - eosjs release/21.0.x with nodeos release/2.0.x
runs-on: ubuntu-18.04
strategy:
matrix:
node-version: [15.14.0]
steps:
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
ref: release/21.0.x
token: ${{ github.token }}
- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js v16.x.x
uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea
with:
node-version: ${{ matrix.node-version }}
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: |
Expand Down Expand Up @@ -48,19 +45,16 @@ jobs:
integration-test-release_21_0_x-release_2_1_x:
name: Integration Test - eosjs release/21.0.x with nodeos release/2.1.x
runs-on: ubuntu-18.04
strategy:
matrix:
node-version: [15.14.0]
steps:
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
ref: release/21.0.x
token: ${{ github.token }}
- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js v16.x.x
uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea
with:
node-version: ${{ matrix.node-version }}
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: |
Expand Down Expand Up @@ -88,19 +82,16 @@ jobs:
integration-test-release_21_0_x-develop:
name: Integration Test - eosjs release/21.0.x with nodeos develop
runs-on: ubuntu-18.04
strategy:
matrix:
node-version: [15.14.0]
steps:
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
ref: release/21.0.x
token: ${{ github.token }}
- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js v16.x.x
uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea
with:
node-version: ${{ matrix.node-version }}
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: |
Expand Down Expand Up @@ -128,19 +119,16 @@ jobs:
integration-test-release_22_0_x-release_2_0_x:
name: Integration Test - eosjs release/22.0.x with nodeos release/2.0.x
runs-on: ubuntu-18.04
strategy:
matrix:
node-version: [15.14.0]
steps:
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
ref: release/22.0.x
token: ${{ github.token }}
- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js v16.x.x
uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea
with:
node-version: ${{ matrix.node-version }}
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: |
Expand Down Expand Up @@ -172,19 +160,16 @@ jobs:
integration-test-release_22_0_x-release_2_1_x:
name: Integration Test - eosjs release/22.0.x with nodeos release/2.1.x
runs-on: ubuntu-18.04
strategy:
matrix:
node-version: [15.14.0]
steps:
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
ref: release/22.0.x
token: ${{ github.token }}
- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js v16.x.x
uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea
with:
node-version: ${{ matrix.node-version }}
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: |
Expand Down Expand Up @@ -215,19 +200,16 @@ jobs:
integration-test-release_22_0_x-develop:
name: Integration Test - eosjs release/22.0.x with nodeos develop
runs-on: ubuntu-18.04
strategy:
matrix:
node-version: [15.14.0]
steps:
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
ref: release/22.0.x
token: ${{ github.token }}
- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js v16.x.x
uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea
with:
node-version: ${{ matrix.node-version }}
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: |
Expand Down Expand Up @@ -255,19 +237,16 @@ jobs:
integration-test-develop-release_2_0_x:
name: Integration Test - eosjs develop with nodeos release/2.0.x
runs-on: ubuntu-18.04
strategy:
matrix:
node-version: [15.14.0]
steps:
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
ref: develop
token: ${{ github.token }}
- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js v16.x.x
uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea
with:
node-version: ${{ matrix.node-version }}
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: |
Expand Down Expand Up @@ -299,19 +278,16 @@ jobs:
integration-test-develop-release_2_1_x:
name: Integration Test - eosjs develop with nodeos release/2.1.x
runs-on: ubuntu-18.04
strategy:
matrix:
node-version: [15.14.0]
steps:
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
ref: develop
token: ${{ github.token }}
- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js v16.x.x
uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea
with:
node-version: ${{ matrix.node-version }}
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: |
Expand Down Expand Up @@ -343,19 +319,16 @@ jobs:
integration-test-develop-develop:
name: Integration Test - eosjs develop with nodeos develop
runs-on: ubuntu-18.04
strategy:
matrix:
node-version: [15.14.0]
steps:
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
ref: develop
token: ${{ github.token }}
- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js v16.x.x
uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea
with:
node-version: ${{ matrix.node-version }}
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: |
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/publish-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@ jobs:
publish-edge:
name: Publish Edge
runs-on: ubuntu-18.04
strategy:
matrix:
node-version: [15.14.0]
steps:
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js v16.x.x
uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f
with:
node-version: ${{ matrix.node-version }}
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: |
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@ jobs:
if: "!github.event.release.prerelease"
name: Publish Release
runs-on: ubuntu-18.04
strategy:
matrix:
node-version: [15.14.0]
steps:
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js v16.x.x
uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f
with:
node-version: ${{ matrix.node-version }}
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: |
Expand Down Expand Up @@ -64,16 +61,13 @@ jobs:
if: "github.event.release.prerelease"
name: Publish RC
runs-on: ubuntu-16.04
strategy:
matrix:
node-version: [15.14.0]
steps:
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js v16.x.x
uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f
with:
node-version: ${{ matrix.node-version }}
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: |
Expand Down

0 comments on commit 99d21e8

Please sign in to comment.