Skip to content

build(release process): reviewed release env and releaserc file for e… #114

build(release process): reviewed release env and releaserc file for e…

build(release process): reviewed release env and releaserc file for e… #114

Workflow file for this run

name: Release
on:
push:
branches:
- 'master'
jobs:
build:
name: "Build"
uses: ./.github/workflows/test.yml
permissions:
contents: read
release:
name: Release
runs-on: ${{ vars.RTLDEV_MW_CI_OS }}
needs: build
permissions:
contents: write
issues: write
deployments: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Setup NodeJS ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: '${{ vars.RTLDEV_MW_CI_NODE_VERSION }}'
check-latest: true
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.RTLDEV_MW_CI_TOKEN }}
TEAMS_NOTIFICATION_URI: ${{ secrets.RTLDEV_MW_CI_NOTIFICATION_URI }}
COMMIT_SHA: ${{ github.sha }}
run: npx semantic-release