ci: pin node version (#3298)

This commit is contained in:
三咲智子 2021-09-08 21:42:17 +08:00 committed by GitHub
parent 6408d3cce6
commit 1e86d44b87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,11 +4,16 @@ on: pull_request
jobs:
build:
name: Unit Test
name: Unit Test (${{ matrix.node-name }})
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['14', '16']
node-version: ['14', '16.8']
include:
- node-version: '14'
node-name: 'LTS'
- node-version: '16.8'
node-name: 'Latest'
steps:
- uses: actions/checkout@v2
- name: Setup node