fix(next): wrong using next history.length (#73) #53
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: Changesets PR or Publish | |
on: | |
push: | |
branches: [main, beta] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/pnpm-setup-node | |
- run: pnpm install --frozen-lockfile | |
- name: Create Changesets Pull Request or Publish to NPM | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
title: 'chore: version packages' | |
commit: 'chore: version packages' | |
version: pnpm changeset:version | |
publish: pnpm changeset:publish | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |