From 69ae5b5f9e569f3aea9ed1aa0ac1975d34aa73a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=96=9B=E5=AE=9A=E8=B0=94=E7=9A=84=E7=8C=AB?= Date: Wed, 21 Oct 2020 18:26:54 +0800 Subject: [PATCH] build: run tests on node v15 (#10672) --- .circleci/config.yml | 17 ++++++++++++++++- .github/workflows/nodejs.yml | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a3324df346d7..c1df85935a23 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -83,6 +83,20 @@ jobs: - store_test_results: path: reports/junit + test-node-15: + working_directory: ~/jest + executor: node/default + steps: + - checkout + - node/install: + node-version: '15' + install-npm: false + - node/install-packages: *install + - run: + command: yarn test-ci-partial + - store_test_results: + path: reports/junit + test-or-deploy-website: working_directory: ~/jest executor: node/default @@ -105,7 +119,8 @@ workflows: - test-node-10 - test-node-12 - test-node-13 - - test-node-14 # current + - test-node-14 + - test-node-15 # current - test-jest-circus - test-or-deploy-website: filters: *filter-ignore-gh-pages diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index c54471099b64..2cdf9ab3b869 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -54,7 +54,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [10.x, 12.x, 13.x, 14.x] + node-version: [10.x, 12.x, 13.x, 14.x, 15.x] os: [ubuntu-latest, macOS-latest, windows-latest] runs-on: ${{ matrix.os }}