Skip to content

chore: release

chore: release #387

Workflow file for this run

name: Release
on:
push:
branches:
- main
- prerelease
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node.js Env
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install Dependencies
run: corepack enable && pnpm i
- name: Create Release Pull Request or Publish
# https://github.com/changesets/action
uses: changesets/action@v1
with:
publish: pnpm release
commit: "chore: release"
title: "chore: release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}