This repository was archived by the owner on Feb 1, 2026. It is now read-only.
chore: update release hooks and package manager version #241
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: Publish Any Commit | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| tags: | |
| - '!**' | |
| env: | |
| PNPM_CACHE_FOLDER: .pnpm-store | |
| HUSKY: 0 # Bypass husky commit hook for CI | |
| NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }} | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| # workaround for npm registry key change | |
| # ref. `pnpm@10.1.0` / `pnpm@9.15.4` cannot be installed due to key id mismatch · Issue #612 · nodejs/corepack | |
| # - https://github.com/nodejs/corepack/issues/612#issuecomment-2629496091 | |
| - run: npm i -g --force corepack && corepack enable | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build | |
| run: pnpm build | |
| - run: pnpx pkg-pr-new publish --compact --pnpm |