Skip to content

Release CLI

Release CLI #14

Workflow file for this run

name: Release CLI
on:
workflow_dispatch:
# push:
# branches: [main]
concurrency:
group: "release-cli"
permissions:
contents: write
issues: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm run build:cli
- run: cd packages/cli && npx semantic-release-monorepo
if: success()
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# Need owner/admin account to bypass branch protection
GIT_COMMITTER_NAME: sinedied
GIT_COMMITTER_EMAIL: [email protected]