Skip to content

Commit

Permalink
roll back CICD node versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
crypto-matto committed Jul 2, 2024
1 parent f7c630b commit 19000b8
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/setup-node@v1
with:
node-version: 16
node-version: 12

- uses: actions/checkout@v2

Expand All @@ -34,7 +34,7 @@ jobs:
steps:
- uses: actions/setup-node@v1
with:
node-version: 16
node-version: 12

- uses: actions/checkout@v2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Generate coverage report
uses: actions/setup-node@v1
with:
node-version: '16'
node-version: '12'
- run: npm install
- run: npm run run-coverage
- run: npm run generate-report
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/setup-node@v1
with:
node-version: 16
node-version: 12

- uses: actions/checkout@v2
- name: Build
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ on:

jobs:
unit:
name: Unit Test (Node.js v16)
name: Unit Test (Node.js v${{ matrix.node }})
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
with:
node-version: 16
node-version: ${{ matrix.node }}

- uses: actions/checkout@v2

- uses: actions/cache@v2
id: cache-deps
with:
path: node_modules
key: ${{ runner.os }}-node16-${{ hashFiles('**/package-lock.json') }}

key: ${{ runner.os }}-node${{ matrix.code }}-${{ hashFiles('**/package-lock.json') }}
- name: Run test
run: |
npm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 14

- uses: actions/cache@v2
id: cache-deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_e2e_IBC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 14

- uses: actions/cache@v2
id: cache-deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/setup-node@v1
with:
node-version: 16
node-version: 12

- uses: actions/checkout@v2
- name: build lib
Expand Down

0 comments on commit 19000b8

Please sign in to comment.