[READ-ONLY] Mirror of https://github.com/bombshell-dev/clack. Effortlessly build beautiful command-line apps bomb.sh/docs/clack/basics/getting-started/
cli command-line command-line-app node prompt prompts
5

Configure Feed

Select the types of activity you want to include in your feed.

Revamp CI (#344)

authored by

Nate Moore and committed by
GitHub
(Jun 4, 2025, 6:08 PM -0500) 99831e90 17d36506

+63 -146
+14 -16
.github/workflows/ci.yml
··· 8 8 9 9 # Automatically cancel in-progress actions on the same branch 10 10 concurrency: 11 - group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }} 12 - cancel-in-progress: true 11 + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} 12 + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} 13 13 14 14 jobs: 15 - build: 16 - name: Build Packages 17 - runs-on: ubuntu-latest 18 - steps: 19 - - uses: actions/checkout@v4 20 - - uses: pnpm/action-setup@v4 21 - - uses: actions/setup-node@v4 22 - with: 23 - node-version: 20 24 - cache: "pnpm" 25 - - run: pnpm install 26 - - run: pnpm run build 27 - - run: pnpm run types 28 - - run: pnpm run test 15 + scripts: 16 + if: github.repository_owner == 'bombshell-dev' 17 + uses: bombshell-dev/automation/.github/workflows/run.yml@main 18 + secrets: inherit 19 + with: 20 + commands: > 21 + [ 22 + "build", 23 + "types", 24 + "test", 25 + "deps" 26 + ]
-15
.github/workflows/issue-edited.yml
··· 1 - name: issue edited 2 - 3 - on: 4 - issues: 5 - types: 6 - - edited 7 - - labeled 8 - 9 - jobs: 10 - move-issue-to-backlog: 11 - name: move issue to backlog 12 - uses: bombshell-dev/automation/.github/workflows/move-issue-to-backlog.yml@main 13 - secrets: 14 - BOT_APP_ID: ${{ secrets.BOT_APP_ID }} 15 - BOT_PRIVATE_KEY: ${{ secrets.BOT_PRIVATE_KEY }}
-15
.github/workflows/issue-opened.yml
··· 1 - name: Issue opened 2 - 3 - on: 4 - issues: 5 - types: 6 - - reopened 7 - - opened 8 - 9 - jobs: 10 - add-issue-to-project: 11 - name: add issue to project 12 - uses: bombshell-dev/automation/.github/workflows/add-issue-to-project.yml@main 13 - secrets: 14 - BOT_APP_ID: ${{ secrets.BOT_APP_ID }} 15 - BOT_PRIVATE_KEY: ${{ secrets.BOT_PRIVATE_KEY }}
+16
.github/workflows/issue.yml
··· 1 + name: issue 2 + 3 + on: 4 + issues: 5 + types: [opened, edited, labeled, reopened] 6 + 7 + jobs: 8 + backlog: 9 + if: github.event.action == 'edited' || github.event.action == 'labeled' 10 + uses: bombshell-dev/automation/.github/workflows/move-issue-to-backlog.yml@main 11 + secrets: inherit 12 + 13 + project: 14 + if: github.event.action == 'opened' || github.event.action == 'reopened' 15 + uses: bombshell-dev/automation/.github/workflows/add-issue-to-project.yml@main 16 + secrets: inherit
-25
.github/workflows/lint.yml
··· 1 - name: Lint 2 - 3 - on: 4 - push: 5 - branches: 6 - - main 7 - pull_request: 8 - 9 - jobs: 10 - lint: 11 - name: Lint 12 - runs-on: ubuntu-latest 13 - steps: 14 - - uses: actions/checkout@v4 15 - - uses: pnpm/action-setup@v4 16 - - uses: actions/setup-node@v4 17 - with: 18 - node-version: 20 19 - cache: "pnpm" 20 - - run: pnpm install 21 - - run: pnpm run build 22 - - run: pnpm run types 23 - - run: pnpm run deps 24 - env: 25 - NODE_ENV: production
+14 -23
.github/workflows/preview.yml
··· 1 1 name: Preview 2 - on: [push, pull_request] 2 + 3 + on: 4 + push: 5 + branches: 6 + - main 7 + pull_request: 8 + workflow_dispatch: 3 9 4 10 jobs: 5 - build: 6 - if: github.repository == 'bombshell-dev/clack' 7 - runs-on: ubuntu-latest 8 - 9 - steps: 10 - - name: Checkout 11 - uses: actions/checkout@v4 12 - 13 - - name: Install pnpm 14 - uses: pnpm/action-setup@v4 15 - 16 - - name: Setup Node 17 - uses: actions/setup-node@v4 18 - with: 19 - node-version: 20 20 - registry-url: https://registry.npmjs.org/ 21 - cache: "pnpm" 22 - 23 - - name: Install dependencies 24 - run: pnpm install 25 - 26 - - run: pnpx pkg-pr-new publish './packages/*' --template './examples/*' 11 + preview: 12 + if: github.repository_owner == 'bombshell-dev' 13 + uses: bombshell-dev/automation/.github/workflows/preview.yml@main 14 + secrets: inherit 15 + with: 16 + publish: "./packages/*" 17 + template: "./examples/*"
+17
.github/workflows/publish.yml
··· 1 + name: Publish 2 + 3 + on: 4 + push: 5 + branches: [main, v0] 6 + workflow_dispatch: 7 + 8 + permissions: 9 + contents: write 10 + pull-requests: write 11 + packages: write 12 + 13 + jobs: 14 + publish: 15 + if: github.repository_owner == 'bombshell-dev' 16 + uses: bombshell-dev/automation/.github/workflows/publish.yml@main 17 + secrets: inherit
-40
.github/workflows/release.yml
··· 1 - name: Release 2 - 3 - on: 4 - push: 5 - branches: [main, v0] 6 - 7 - permissions: 8 - contents: write 9 - pull-requests: write 10 - packages: write 11 - 12 - # Automatically cancel in-progress actions on the same branch 13 - concurrency: 14 - group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }} 15 - cancel-in-progress: true 16 - 17 - jobs: 18 - release: 19 - name: Release 20 - runs-on: ubuntu-latest 21 - steps: 22 - - uses: actions/checkout@v4 23 - - uses: pnpm/action-setup@v4 24 - - uses: actions/setup-node@v4 25 - with: 26 - node-version: 20 27 - cache: "pnpm" 28 - - run: pnpm run ci:install 29 - - run: pnpm run ci:prepublish 30 - - name: Create Release Pull Request or Publish to npm 31 - id: changesets 32 - uses: changesets/action@v1 33 - with: 34 - version: pnpm run ci:version 35 - publish: pnpm run ci:publish 36 - commit: "[ci] release" 37 - title: "[ci] release" 38 - env: 39 - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} 40 - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1 -8
CONTRIBUTING.md
··· 283 283 284 284 2. **For maintainers**: 285 285 - Merging PRs with changesets will queue them for the next release 286 - - When ready to release: 287 - ```bash 288 - # Update versions based on changesets 289 - pnpm ci:version 290 - 291 - # Publish to npm 292 - pnpm ci:publish 293 - ``` 286 + - When ready to release, merge the `[ci] release` PR 294 287 295 288 ### Backporting to v0 Branch 296 289
+1 -4
package.json
··· 12 12 "types": "biome lint --write --unsafe", 13 13 "deps": "pnpm exec knip --production", 14 14 "test": "pnpm --color -r run test", 15 - "ci:install": "pnpm install --no-frozen-lockfile", 16 - "ci:version": "changeset version", 17 - "ci:publish": "changeset publish", 18 - "ci:prepublish": "pnpm build" 15 + "pretest": "pnpm run build" 19 16 }, 20 17 "devDependencies": { 21 18 "@biomejs/biome": "1.9.4",