chore: test on node 15 (#12265)

This commit is contained in:
Huáng Jùnliàng 2020-10-27 17:33:43 -04:00 committed by GitHub
parent 750d869db9
commit f04bbf62b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ jobs:
- name: Use Node.js latest - name: Use Node.js latest
uses: actions/setup-node@v2-beta uses: actions/setup-node@v2-beta
with: with:
node-version: "*" node-version: "15"
- name: Get yarn cache directory path - name: Get yarn cache directory path
id: yarn-cache-dir-path id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)" run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
@ -99,14 +99,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
node-version: [13, 12, 10, 8, 6] node-version: [14, 13, 12, 10, 8, 6]
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Use Node.js latest - name: Use Node.js latest
uses: actions/setup-node@v2-beta uses: actions/setup-node@v2-beta
with: with:
node-version: "*" # Build Babel on latest node versions node-version: "*" # Build Babel on latest node LTS versions
- name: Get yarn cache directory path - name: Get yarn cache directory path
id: yarn-cache-dir-path id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)" run: echo "::set-output name=dir::$(yarn config get cacheFolder)"