Skip to content

Update to Angular 18 and standalone API (#247) #55

Update to Angular 18 and standalone API (#247)

Update to Angular 18 and standalone API (#247) #55

Workflow file for this run

name: Build and Deploy pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.15.1
# This builds the project for projects/demo-maps and outputs the result to the 'dist' folder.
# https://github.com/angular/angular-cli/issues/9016#issuecomment-526825531
- name: Install and Build
run: |
npm ci
npx ng build demo-maps --configuration=production --base-href=/ukis-frontend-libraries/
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist/demo-maps # The folder the action should deploy.