Merge pull request #1756 from RoadieHQ/changeset-release/main #999
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Changeset | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
create-release-pr: | |
name: Create Changeset PR | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Dependencies | |
run: yarn --frozen-lockfile | |
- name: Create Release Pull Request | |
uses: changesets/action@v1 | |
with: | |
# Calls out to `changeset version`, but also runs prettier | |
version: yarn release | |
title: Version Packages - plugins | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |