chore: changeset commit #49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package release | |
on: | |
push: | |
branches: | |
- master | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Setup Node.js 20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Install Dependencies | |
run: pnpm install --no-frozen-lockfile | |
- name: Build library | |
run: pnpm build:lib | |
- name: Create Release Pull Request | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
title: "chore: publish pkg" | |
commit: "chore: publish pkg" | |
version: pnpm npm:version | |
publish: pnpm npm:publish | |
env: | |
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |