Skip to content

Merge pull request #10 from step-security-bot/chore/GHA-181443-stepse… #34

Merge pull request #10 from step-security-bot/chore/GHA-181443-stepse…

Merge pull request #10 from step-security-bot/chore/GHA-181443-stepse… #34

Workflow file for this run

name: Semantic Release
on:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
permissions:
contents: read
jobs:
release:
if: ${{ !startsWith(github.event.head_commit.message, 'chore(release):') }}
runs-on: 'ubuntu-latest'
permissions:
contents: write
pull-requests: write
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
fetch-tags: true
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Install dependencies
run: |
npm install
- name: Run Semantic Release
env:
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
RELEASE_PROCESS: 'true'
run: |
npm run release:zip
npx semantic-release