Skip to content

ci: fix release workflow #4

ci: fix release workflow

ci: fix release workflow #4

Workflow file for this run

name: Release
permissions:
id-token: write
on:
push:
branches:
- main
- beta
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: moonrepo/setup-toolchain@v0
with:
auto-install: true
- run: moon setup
- name: Publish
id: changesets
uses: changesets/action@v1
with:
commit: 'chore: release'
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.MOON_GH_TOKEN }}
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}