From 2aa5d918571e5fb21a09bb6dc1cfb91a030deb06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=B5=B7?= Date: Thu, 23 Apr 2020 19:37:21 +0800 Subject: [PATCH] update nodejs.yml --- .github/workflows/nodejs.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index d54ec57..2650990 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -1,7 +1,7 @@ # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions -name: Node.js CI +name: BuildProject on: push: @@ -16,14 +16,14 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x] + node-version: 12 steps: - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js 12 uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version: '12.x' - run: npm install -g @angular/cli - run: bash build.sh