Skip to content

chore(release): update release & CHANGELOG.md (#18) #24

chore(release): update release & CHANGELOG.md (#18)

chore(release): update release & CHANGELOG.md (#18) #24

Workflow file for this run

name: release
on:
push:
branches: ['main']
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
pull-requests: write
packages: write
jobs:
release:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
- name: Build
run: pnpm build
- name: Create Release Pull Request
uses: changesets/action@v1
with:
commit: 'chore(release): update release & CHANGELOG.md'
title: '📦 Update Packages Version'
publish: pnpm changeset:publish
version: pnpm changeset:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}