Skip to content

Release

Release #185

Workflow file for this run

---
name: Release
run-name: Release
permissions:
contents: write
packages: write
pull-requests: write
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: 'Release'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies and build
uses: ./.github/actions/init-node
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
publish: yarn publish-packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}