Skip to content

Version Packages (#59) #122

Version Packages (#59)

Version Packages (#59) #122

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
pull-requests: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7.26.2
- name: Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: Install Dependencies
run: pnpm i
- name: Create Release Pull Request
uses: changesets/action@v1
with:
publish: pnpm changeset publish
title: "[ci] release ${{ github.ref_name }}"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}