ci: fix node version for commit lint job
This commit is contained in:
3
.github/workflows/web3.yml
vendored
3
.github/workflows/web3.yml
vendored
@ -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' }}
|
||||||
|
Reference in New Issue
Block a user