Skip to content

Commit

Permalink
update node versions (#5354)
Browse files Browse the repository at this point in the history
* format

* updating node ver

* updating version

* updating eth2 ver

* update for e2e and unit tetss

* revert mosaic ver change

* revert

* changing set up node ver

* update node set up ver

* updating actions cache for node14
  • Loading branch information
luu-alex committed Aug 18, 2022
1 parent d64a26a commit 9f4e7c0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Expand Up @@ -27,7 +27,6 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12

- uses: actions/checkout@v2

- uses: actions/cache@v2
Expand All @@ -36,7 +35,7 @@ jobs:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-node12-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node14-${{ hashFiles('**/package-lock.json') }}

- run: npm ci
if: steps.cache-deps.outputs.cache-hit != 'true'
Expand All @@ -46,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
node: [14, 16]
env:
TEST: "unit"
steps:
Expand Down Expand Up @@ -87,7 +86,7 @@ jobs:
steps:
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14
- uses: actions/checkout@v2

- uses: actions/cache@v2
Expand All @@ -97,7 +96,7 @@ jobs:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-node12-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node14-${{ hashFiles('**/package-lock.json') }}

- run: npm ci
if: (env.TEST == 'unit_and_e2e_clients' || env.TEST == 'e2e_browsers') && steps.cache-deps.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -125,7 +124,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
node: [14, 16]
env:
TEST: "eth2"
steps:
Expand Down

0 comments on commit 9f4e7c0

Please sign in to comment.