Skip to content

Commit

Permalink
Add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsee authored Dec 6, 2020
1 parent c70416b commit fba3649
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# GitHub Actions docs
# https://help.github.com/en/articles/about-github-actions
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: Angular CI with npm

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Use Node.js 12.8
uses: actions/setup-node@v1
with:
node-version: 12.8
- name: Install dependencies
run: npm install
- name: Build
run: npm run build -- --prod

0 comments on commit fba3649

Please sign in to comment.