ci: 更新ci.yml中的node版本
This commit is contained in:
parent
c1d1fdbb2b
commit
50a3e159c3
|
|
@ -10,13 +10,13 @@ on:
|
|||
|
||||
jobs: # 工作流
|
||||
build: # 自定义名称
|
||||
runs-on: ubuntu-latest #运行在虚拟机环境ubuntu-latest
|
||||
runs-on: ubuntu-latest # 运行在虚拟机环境ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [10.x]
|
||||
node-version: [12.x]
|
||||
|
||||
steps: # 步骤
|
||||
steps:
|
||||
- name: Checkout # 步骤1
|
||||
uses: actions/checkout@v1 # 使用的动作。格式:userName/repoName。作用:检出仓库,获取源码。 官方actions库:https://github.com/actions
|
||||
- name: Use Node.js ${{ matrix.node-version }} # 步骤2
|
||||
|
|
|
|||
Loading…
Reference in New Issue