Skip to content

fix(workspace): packages transformers #340

fix(workspace): packages transformers

fix(workspace): packages transformers #340

Workflow file for this run

name: Release
on:
push:
branches:
- "main"
- "next"
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: fregante/setup-git-user@v1
- name: Setup Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: yarn
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Setup .yarnrc.yml
run: |
yarn config set npmAuthToken $NPM_TOKEN -H
yarn config set npmAlwaysAuth true -H
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Install Dependencies
run: yarn --immutable
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: yarn release
commit: "chore(publish): Publish packages"
title: "chore(publish): Publish packages"
createGithubReleases: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}