diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml new file mode 100644 index 0000000..975fe8f --- /dev/null +++ b/.github/workflows/npm.yml @@ -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