chore: release v0.23.0-rc.1 #207
Workflow file for this run
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
| # This file is generated by actionspack. Do not edit it manually. | |
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| jobs: | |
| release-release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| id-token: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 | |
| with: | |
| persist-credentials: false | |
| fetch-depth: '0' | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 | |
| - name: Setup node | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 | |
| with: | |
| node-version: lts/* | |
| cache: '' | |
| package-manager-cache: false | |
| registry-url: https://registry.npmjs.org | |
| - name: Install dependencies | |
| shell: bash | |
| env: | |
| PACKAGE_MANAGER: pnpm | |
| NO_FROZEN_LOCKFILE: '' | |
| run: $PACKAGE_MANAGER install $NO_FROZEN_LOCKFILE | |
| - name: Generate GitHub Changelog | |
| run: pnpx changelogithub | |
| continue-on-error: true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build | |
| run: pnpm run build | |
| - name: Publish to NPM | |
| run: ${{ format('pnpm -r stage publish --access public --no-git-checks {0}', (contains(github.ref_name, 'alpha') && 'alpha' || contains(github.ref_name, 'beta') && 'beta' || contains(github.ref_name, 'rc') && 'rc' || '') && format('--tag {0}', (contains(github.ref_name, 'alpha') && 'alpha' || contains(github.ref_name, 'beta') && 'beta' || contains(github.ref_name, 'rc') && 'rc' || '')) || '') }} |