Skip to content

Release

Release #1

Workflow file for this run

name: Release
on:
workflow_dispatch:
permissions:
contents: read
env:
HUSKY: 0 # for disable husky on ci
jobs:
release:
if: github.event_name == 'workflow_dispatch'
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node v20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
# https://docs.npmjs.com/cli/v10/commands/npm-ci
- name: Install Package
run: npm ci
- name: Build Project
run: npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.JEST_CUCUMBER_NPM_TOKEN }}
GIT_AUTHOR_EMAIL: release[bot]@users.noreply.github.com
GIT_AUTHOR_NAME: release[bot]
GIT_COMMITTER_EMAIL: release[bot]@users.noreply.github.com
GIT_COMMITTER_NAME: release[bot]
run: npm run release