Release changesets #4
Workflow file for this run
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: Release changesets | |
# This workflow will be triggered on push to the main branch | |
# on: | |
# push: | |
# branches: | |
# - main | |
# temporarly manual triggers only | |
on: | |
workflow_dispatch: | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Setup Node.js 20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Enable Corepack and Install Yarn 4 | |
run: | | |
corepack enable | |
yarn set version latest | |
- name: Install Dependencies | |
run: yarn install | |
- name: Create Release Pull Request | |
uses: changesets/action@v1 | |
with: | |
version: yarn changeset version | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |