Skip to content

Publish Semantic Release #3

Publish Semantic Release

Publish Semantic Release #3

name: Publish Semantic Release
on:
workflow_dispatch:
jobs:
release:
permissions:
contents: write
issues: write
pull-requests: write
runs-on: [self-hosted, Linux, medium, ephemeral]
steps:
- name: Checkout Code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Configure Node JS
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
- name: Clean Install
run: npm ci
- name: Build Source
run: npm run build
- name: Run semantic-release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}