diff --git a/.github/workflows/build-angular b/.github/workflows/build-angular new file mode 100644 index 0000000..fdf121f --- /dev/null +++ b/.github/workflows/build-angular @@ -0,0 +1,33 @@ +name: Build Angular App + +on: + push: + branches: [ main ] + workflow_dispatch: + +jobs: + build-angular: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup Node JS + uses: actions/setup-node@v4 + with: + node-version: 18.x + + - name: Install dependencies + run: npm install + + - name: Build + run: npm run build + + - name: Upload Build Artifacts + uses: actions/upload-artifact@v4 + with: + name: build-artifact + path: dist + + +