ci: pin node version to 12.x

This commit is contained in:
Shuanglei Tao
2019-11-30 09:21:18 +08:00
parent e2ac72336b
commit 706479909a
2 changed files with 3 additions and 7 deletions

View File

@@ -11,15 +11,11 @@ on:
jobs:
build:
runs-on: ubuntu-16.04
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
node-version: '12.x'
- name: yarn install, check and build
run: |
cd html