Skip to content

Manual Release

Manual Release #22

Workflow file for this run

name: Manual Release
on:
workflow_dispatch:
env:
HUSKY: 0
permissions:
contents: read
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Checkout the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
# persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Build package
run: yarn build
- name: Release
run: yarn semantic-release --ci --debug
env:
GIT_AUTHOR_NAME: haqq-ci
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: haqq-ci
GIT_COMMITTER_EMAIL: [email protected]
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}