From bae2752be39ad26ea0ddd14c2f17ba1d8000c0f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=AA=E6=8D=B1=E5=AE=85?= Date: Tue, 15 Oct 2019 12:27:05 +0800 Subject: [PATCH] ci: fix node version of github action (#19216) --- .github/workflows/nodejs.yml | 19 ------------------- .github/workflows/test.yml | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 19 deletions(-) delete mode 100644 .github/workflows/nodejs.yml create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml deleted file mode 100644 index a52738bee1..0000000000 --- a/.github/workflows/nodejs.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Node CI - -on: [push] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@master - - name: Use Node.js 10.x - uses: actions/setup-node@v1 - with: - version: 10.x - - name: npm install, build, and test - run: | - npm install - npm run test-all diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000000..293855ded5 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,18 @@ +name: test + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: checkout + uses: actions/checkout@master + + - name: install + run: npm install + + - name: test + run: npm run test-all