ci: 更新ci.yml中的node版本

This commit is contained in:
xugaoyi 2021-01-12 19:11:11 +08:00
parent c1d1fdbb2b
commit 50a3e159c3
1 changed files with 5 additions and 5 deletions

View File

@ -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