Skip to content

Bump @angular/platform-browser-dynamic from 16.2.12 to 18.0.0 #255

Bump @angular/platform-browser-dynamic from 16.2.12 to 18.0.0

Bump @angular/platform-browser-dynamic from 16.2.12 to 18.0.0 #255

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
on:
push:
branches: [main]
pull_request:
branches: [main]
name: Main CI
env:
NODE_VERSION: '18'
jobs:
build:
name: 🚧 Lint, Test, Build & (optionally) Release
runs-on: ubuntu-latest
steps:
- name: Set RELEASE_VERSION env variable
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Check out Git repository
uses: actions/checkout@v4
- name: Mark backend version as SNAPSHOT
run: |
sed -i '/\"version\"/s/\"\,/\-SNAPSHOT\"\,/g' cumulocity.json
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'yarn'
- name: Install Node.js dependencies
run: |
yarn install --frozen-lockfile --immutable --non-interactive --prefer-offline
- name: 🚧 Build Frontend
run: |
yarn build:ui
- name: Upload Frontend Artifact
uses: actions/upload-artifact@v4
with:
name: node-red-ui-${{ github.event.number }}-${{ github.run_id }}
if-no-files-found: error
retention-days: 5
path: cumulocity-node-red-ui/dist/cumulocity-node-red-ui/
- name: 🚧 Build Backend
run: |
docker build -t node-red-ms .
docker save node-red-ms -o image.tar
- name: Upload Backend Artifact
uses: actions/upload-artifact@v4
with:
name: node-red-${{ github.event.number }}-${{ github.run_id }}
if-no-files-found: error
retention-days: 5
path: |
cumulocity.json
image.tar