ci: fix node version for commit lint job
This commit is contained in:
parent
e7fa412465
commit
238d65c0b8
|
@ -36,10 +36,9 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: '16'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
cache-dependency-path: web3.js/package-lock.json
|
cache-dependency-path: web3.js/package-lock.json
|
||||||
- run: npm i -g npm@7
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- name: commit-lint
|
- name: commit-lint
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
if: ${{ github.event_name == 'pull_request' }}
|
||||||
|
|
Loading…
Reference in New Issue