Skip to content

Release

Release #232

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
uses: ./.github/actions/init-node
- name: Build
uses: ./.github/actions/build-and-cache
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
publish: yarn run changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}