Skip to content

Angular 18 upgrade changes #662

Angular 18 upgrade changes

Angular 18 upgrade changes #662

name: Checkout, install dependencies, and build dev and prod
on:
workflow_dispatch:
push:
branches:
- main
- 'release/**'
pull_request:
branches:
- main
- 'release/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- uses: "finnp/create-file-action@master"
env:
FILE_NAME: "constellation/lib_asset.json"
FILE_DATA: "{}"
- uses: "finnp/create-file-action@master"
env:
FILE_NAME: "constellation/bootstrap-shell.js"
FILE_DATA: "// placeholder for bootstrap-shell.js"
- uses: "finnp/create-file-action@master"
env:
FILE_NAME: "constellation/constellation-core.placeholder.js"
FILE_DATA: "// placeholder for constellaiton-core.js"
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run build:dev
run: npm run build:dev
- name: Run build:prod
run: npm run build:prod