Skip to content

chore(deps): bump ngx-bootstrap from 11.0.2 to 18.0.0 #141

chore(deps): bump ngx-bootstrap from 11.0.2 to 18.0.0

chore(deps): bump ngx-bootstrap from 11.0.2 to 18.0.0 #141

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
if: github.event_name != 'push' || !startsWith(github.ref, 'refs/tags/v')
run: |
cd backend
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: Set C8Y_VERSION env variable
run: echo "C8Y_VERSION=$(node -p -e "require('./frontend/package.json').dependencies['@c8y/ngx-components']")" >> $GITHUB_ENV
- name: Install Node.js dependencies
run: |
yarn install --frozen-lockfile --immutable --non-interactive --prefer-offline
- name: 🚧 Build Frontend
run: |
cd frontend
npm run build
- name: Upload Frontend Artifact
uses: actions/upload-artifact@v4
with:
name: cloud-http-proxy-ui-${{ env.C8Y_VERSION }}-${{ github.sha }}
if-no-files-found: error
retention-days: 5
path: frontend/dist/
- name: 🚧 Build Backend
run: |
cd backend
npm run build:release
- name: Upload Backend Artifact
uses: actions/upload-artifact@v4
with:
name: cloud-http-proxy-${{ env.C8Y_VERSION }}-${{ github.event.number }}-${{ github.run_id }}
if-no-files-found: error
retention-days: 5
path: |
backend/cumulocity.json
backend/image.tar