Fix CI: use local bin path to avoid npm bumpy name collision #7
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: Release | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: oven-sh/setup-bun@v2 | |
| - run: bun install | |
| # Build first since we use the local workspace package | |
| - run: bun run --filter @varlock/bumpy build | |
| - run: ./node_modules/.bin/bumpy ci release | |
| env: | |
| GH_TOKEN: ${{ github.token }} |