build: update angular and migrate to pnpm #74
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
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy | |
# More GitHub Actions for Azure: https://github.com/Azure/actions | |
name: Client UI - build latest | |
on: | |
push: | |
branches: | |
- "main" | |
paths: | |
- "src/ui/**" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Log in to registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ secrets.CONTAINER_USERNAME }} | |
password: ${{ secrets.CONTAINER_PASSWORD }} | |
- name: Build and push container image to registry | |
uses: docker/build-push-action@v5 | |
with: | |
push: true | |
tags: ${{ secrets.REPOSITORY_NAME }}/ppo-ui:latest | |
context: ./src/ui | |
secrets: | | |
npmrc=${{ secrets.NPMRC }} |