Merge pull request #1 from cavaceto/eslint #405
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-and-archive-angular-app | |
on: [push] | |
jobs: | |
build-test: | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Checkout repository | |
uses: "actions/checkout@v2" | |
- name: Setup Node-Environment | |
uses: "actions/setup-node@v2" | |
with: | |
node-version: '12' | |
- name: Build optimized web application | |
run: | | |
npm ci | |
npm run build --prod | |
- name: Archive production artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: dist | |
path: dist |