Skip to content

build(deps-dev): bump typescript-eslint from 8.68.0 to 8.69.0 (#2590) #1461

build(deps-dev): bump typescript-eslint from 8.68.0 to 8.69.0 (#2590)

build(deps-dev): bump typescript-eslint from 8.68.0 to 8.69.0 (#2590) #1461

Workflow file for this run

#*********************************************************************
# Copyright (c) Intel Corporation 2020
# SPDX-License-Identifier: Apache-2.0
#*********************************************************************/
# This workflow will release new versions when required using semantic-release
name: Semantic-Release CI
on:
push:
branches: [main]
permissions:
contents: read
jobs:
release:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@e14015d583714f6e62063499dc959a02595150a1 # v2.21.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Use Node.js 24.x
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '24.x'
- run: npm ci
- run: npm run build --if-present
- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@b12c8f6015dc215fe37bc154d4ad456dd3833c90 # v6.0.0
with:
semantic_version:
25.0.2 # It is recommended to specify version range
# for semantic-release.
env:
GITHUB_TOKEN: ${{ secrets.ROSIE_TOKEN }}
- name: Publish to @open-amt-cloud-toolkit
if: steps.semantic.outputs.new_release_published == 'true'
env:
NEW_RELEASE_VERSION: ${{ steps.semantic.outputs.new_release_version }}
run: |
echo "Publishing @open-amt-cloud-toolkit/ui-toolkit-angular@$NEW_RELEASE_VERSION"
sed -i 's/"@device-management-toolkit\/ui-toolkit-angular"/"@open-amt-cloud-toolkit\/ui-toolkit-angular"/' dist/package.json
sed -i 's/"version": "[^"]*"/"version": "'"$NEW_RELEASE_VERSION"'"/' dist/package.json
cd dist
npm publish