Skip to content

Merge pull request #17 from ssssota/changeset-release/main #27

Merge pull request #17 from ssssota/changeset-release/main

Merge pull request #17 from ssssota/changeset-release/main #27

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write # to create release (changesets/action)
pull-requests: write # to create pull request (changesets/action)
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-node
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
publish: pnpm changeset:release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}