Fix dynamic task demo (#93) #108
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 | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🤘 checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3.0.0 | |
with: | |
node-version: 18.x | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm ci --ignore-scripts | |
- name: Create Release Pull Request | |
uses: changesets/action@v1 | |
with: | |
title: Changeset Version Bump | |
commit: Update the version of packages with .changeset md files | |
publish: yarn changeset tag | |
# The publish command uses a hack to generate Release draft but not actually publish the packages | |
# We set the changeset tag command here to auto-create github tag for each package | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run yarn changeset tag | |
run: yarn changeset tag |