Skip to content

ci(release workflow): renamed npm token secret #513

ci(release workflow): renamed npm token secret

ci(release workflow): renamed npm token secret #513

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release Job @ ubuntu-latest
runs-on: ${{ vars.RTLDEV_MW_CI_OS }}
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 }}
NPM_TOKEN: ${{ secrets.RTLDEV_MW_CI_NPM_TOKEN }}
TEAMS_NOTIFICATION_URI: ${{ secrets.RTLDEV_MW_CI_NOTIFICATION_URI }}
COMMIT_SHA: ${{ github.sha }}
run: npx semantic-release