chore: bump version #18
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 management | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '.vscode/**' | |
- 'images/**' | |
- '*.md' | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
main: | |
name: Publish changed packages | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🏗 Setup repo | |
uses: actions/checkout@v2 | |
- name: 🏗 Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18.x | |
cache: yarn | |
- name: 📦 Install dependencies | |
run: yarn install | |
- name: 🆕 Publish to npm or create release PR | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
title: '🆕 Upcoming release' | |
commit: 'chore: bump version' | |
version: yarn version | |
publish: yarn release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |