Skip to content

build(deps): Bump step-security/harden-runner from 2.10.0 to 2.10.1 (… #636

build(deps): Bump step-security/harden-runner from 2.10.0 to 2.10.1 (…

build(deps): Bump step-security/harden-runner from 2.10.0 to 2.10.1 (… #636

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
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: Use Node.js 18.x
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: '18.x'
- run: npm ci
- run: npm run compile --if-present
- run: rsync -a package.json README.md ./dist/
- name: Semantic Release
uses: cycjimmy/semantic-release-action@cb425203a562475bca039ba4dbf90c7f9ac790f4 # v4.1.0
with:
semantic_version:
19.0.5 # It is recommended to specify specifying version range
# for semantic-release.
env:
GITHUB_TOKEN: ${{ secrets.ROSIE_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}