chore: remove engines.pnpm #9
This file contains 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: Release | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
NODE_VERSION: 20.12.2 | |
STORE_PATH: .pnpm-store | |
steps: | |
- name: Code Checkout | |
uses: actions/checkout@v3 | |
- name: Setup deps | |
uses: ./.github/actions/install-deps | |
- name: Set NPM Token | |
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" | |
- name: Create Release Pull Request or Publish to npm | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
publish: pnpm run publish | |
version: pnpm run version | |
title: '[BUMP] Bump packages version' | |
commit: 'chore: bump packages version' |