Skip to content

build(deps-dev): bump @types/node from 24.8.0 to 24.9.1 (#2112) #1087

build(deps-dev): bump @types/node from 24.8.0 to 24.9.1 (#2112)

build(deps-dev): bump @types/node from 24.8.0 to 24.9.1 (#2112) #1087

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
steps:
- name: Harden Runner
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Use Node.js 22.x
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build --if-present
- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@ba330626c4750c19d8299de843f05c7aa5574f62 # v5.0.2
with:
semantic_version:
24.2.4 # It is recommended to specify specifying version range
# for semantic-release.
env:
GITHUB_TOKEN: ${{ secrets.ROSIE_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to @device-management-toolkit
if: steps.semantic.outputs.new_release_published == 'true'
run: |
echo "Publishing @device-management-toolkit/ui-toolkit-angular@${{ steps.semantic.outputs.new_release_version }}"
sed -i 's/"@open-amt-cloud-toolkit\/ui-toolkit-angular"/"@device-management-toolkit\/ui-toolkit-angular"/' dist/package.json
sed -i 's/"version": "[^"]*"/"version": "${{ steps.semantic.outputs.new_release_version }}"/' dist/package.json
cd dist
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}