提交 de1b1709 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

use matrix.node

上级 01ce7ad3
......@@ -6,6 +6,9 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 12, 14, 16 ]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
......@@ -18,7 +21,7 @@ jobs:
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: [12, 14, 16]
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: |
node --version
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册