update nodejs.yml

This commit is contained in:
小海
2020-04-23 19:37:21 +08:00
parent d3e55152b0
commit 2aa5d91857

View File

@@ -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