Skip to content

Commit 2bddc3a

Browse files
Create angular.yml
1 parent e06169c commit 2bddc3a

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/angular.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
tags:
6+
- '*'
7+
pull_request:
8+
branches:
9+
- main
10+
name: Angular Build
11+
jobs:
12+
angular-build:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
node-version: [16.x]
17+
18+
steps:
19+
- uses: actions/checkout@v1
20+
with:
21+
fetch-depth: 0
22+
23+
- name: Cache node modules
24+
uses: actions/cache@v1
25+
with:
26+
path: ~/.npm
27+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
28+
restore-keys: |
29+
${{ runner.os }}-node-
30+
- name: Node ${{ matrix.node-version }}
31+
uses: actions/setup-node@v1
32+
with:
33+
node-version: ${{ matrix.node-version }}
34+
- name: npm install and npm run build
35+
run: |
36+
cd AngularUI
37+
npm i
38+
npm run build

0 commit comments

Comments
 (0)