Skip to content

Commit fba3649

Browse files
authored
Add github actions
1 parent c70416b commit fba3649

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/npm.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# GitHub Actions docs
2+
# https://help.github.com/en/articles/about-github-actions
3+
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
4+
name: Angular CI with npm
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v1
18+
- name: Use Node.js 12.8
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: 12.8
22+
- name: Install dependencies
23+
run: npm install
24+
- name: Build
25+
run: npm run build -- --prod

0 commit comments

Comments
 (0)