Upgrade Node.js to version 16 in the CI workflow
Version 14 that we used before is now in maintenance mode, so we should upgrade to the most recent LTS version. Moreover, use the most recent `setup-node` workflow version and syntax; see https://github.com/actions/setup-node#usage.
This commit is contained in:
parent
3a8318aa1c
commit
4269148d3d
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -9,10 +9,10 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Use Node.js 14 LTS
|
- name: Use Node.js 16 LTS
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: '16'
|
||||||
|
|
||||||
- name: Install Gulp
|
- name: Install Gulp
|
||||||
run: npm install -g gulp-cli
|
run: npm install -g gulp-cli
|
||||||
|
Loading…
Reference in New Issue
Block a user