cr.yml
This file
Path
.github/workflows/cr.yml
50 lines · 1.5 KiB · YAML
Last changed by
ci: remove empty step left in `cr.yml` by the pnpm migration (#5456)Yusuke Wadabefore adoption52f6c7e
History of this fileTake it
The walk stopped after 200 commits: lines older than f0b094d point at it.
Merge commit from forkYusuke Wadabefore adoptionf0b094d
lines 1–36why, one step back1name: cr2on:3 push:4 branches: [main]5 tags: ['!**'] # Avoid publishing on tags6 pull_request:7 types: [opened, synchronize, labeled] # Run on PR creation, updates, and when labels are added89concurrency:10 group: ${{ github.workflow }}-${{ github.event.number }} # Concurrency group for each PR11 cancel-in-progress: true # Cancel in progress builds for the same PR1213permissions:14 contents: read1516jobs:17 publish:18 if: github.repository == 'honojs/hono' && (github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'cr-tracked'))19 runs-on: ubuntu-latest20 name: 'Publish: pkg.pr.new'21 permissions:22 contents: read23 id-token: write24 pull-requests: write25 steps:26 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v627 with:28 fetch-depth: 02930 - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v631 with:32 node-version-file: '.tool-versions'3334 - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v235 with:36 bun-version-file: '.tool-versions'chore: migrate the package manager from bun to pnpm (#5433)Yusuke Wadabefore adoption535ae55
lines 37–43why, one step back37 - uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.038 with:39 cache: true40 run_install: true41 - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v642 with:43 node-version-file: '.tool-versions'Merge commit from forkYusuke Wadabefore adoptionf0b094d
lines 44–45why, one step back4445 - name: Buildchore: migrate the package manager from bun to pnpm (#5433)Yusuke Wadabefore adoption535ae55
line 46why, one step back46 run: pnpm run buildMerge commit from forkYusuke Wadabefore adoptionf0b094d
lines 47–49why, one step back4748 - name: Publish to StackBlitz49 run: |chore: migrate the package manager from bun to pnpm (#5433)Yusuke Wadabefore adoption535ae55
line 50why, one step back50 pnpm exec pkg-pr-new publish --compact