Skip to content

CLI: fix registry build #1451

CLI: fix registry build

CLI: fix registry build #1451

Workflow file for this run

name: Release
on:
push:
branches:
- dev
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
with:
token: ${{ secrets.UPDATE_TEMPLATE_SSH_KEY }}
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
- name: Install Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: 18
cache: 'pnpm'
- name: Install Dependencies
run: pnpm i --frozen-lockfile
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run release
version: pnpm run version
env:
GITHUB_TOKEN: ${{ secrets.UPDATE_TEMPLATE_SSH_KEY }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}