Skip to content

build(deps-dev): bump jsdom from 26.1.0 to 30.0.1 (#1809) #1047

build(deps-dev): bump jsdom from 26.1.0 to 30.0.1 (#1809)

build(deps-dev): bump jsdom from 26.1.0 to 30.0.1 (#1809) #1047

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:
contents: write # for Git to git push
id-token: write # for semantic-release to create releases
steps:
- name: Harden Runner
uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0
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-ext --if-present
- run: rsync -a package.json README.md ./dist/
- 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 @device-management-toolkit
if: steps.semantic.outputs.new_release_published == 'true'
env:
NEW_RELEASE_VERSION: ${{ steps.semantic.outputs.new_release_version }}
run: |
echo "Publishing @device-management-toolkit/ui-toolkit@${NEW_RELEASE_VERSION}"
sed -i 's/"@open-amt-cloud-toolkit\/ui-toolkit"/"@device-management-toolkit\/ui-toolkit"/' dist/package.json
sed -i 's/"version": "[^"]*"/"version": "'"$NEW_RELEASE_VERSION"'"/' dist/package.json
cd dist
npm publish