Personal documentation template (Bun, monochrome shell, notes-style sidebar). Fresh history with no upstream contributor lineage.
Showing the changes to .github (1 of 328 files). Show all
Unified · Split
| @@ -0,0 +1,57 @@ | |||
| 1 | name: ci | ||
| 2 | |||
| 3 | on: | ||
| 4 | push: | ||
| 5 | branches: | ||
| 6 | - main | ||
| 7 | pull_request: | ||
| 8 | branches: | ||
| 9 | - main | ||
| 10 | |||
| 11 | jobs: | ||
| 12 | build: | ||
| 13 | runs-on: ${{ matrix.os }} | ||
| 14 | |||
| 15 | permissions: | ||
| 16 | contents: read | ||
| 17 | pull-requests: read | ||
| 18 | |||
| 19 | strategy: | ||
| 20 | matrix: | ||
| 21 | os: [ubuntu-latest] | ||
| 22 | node: [22] | ||
| 23 | |||
| 24 | env: | ||
| 25 | NUXT_GITHUB_TOKEN: ${{ secrets.NUXT_GITHUB_TOKEN }} | ||
| 26 | |||
| 27 | steps: | ||
| 28 | - name: Checkout | ||
| 29 | uses: actions/checkout@v5 | ||
| 30 | |||
| 31 | - name: Install pnpm | ||
| 32 | uses: pnpm/action-setup@v4 | ||
| 33 | |||
| 34 | - name: Install node | ||
| 35 | uses: actions/setup-node@v5 | ||
| 36 | with: | ||
| 37 | node-version: ${{ matrix.node }} | ||
| 38 | cache: pnpm | ||
| 39 | |||
| 40 | - name: Install dependencies | ||
| 41 | run: pnpm install | ||
| 42 | |||
| 43 | - name: Prepare | ||
| 44 | run: pnpm run dev:prepare | ||
| 45 | |||
| 46 | - name: Lint | ||
| 47 | run: pnpm run lint | ||
| 48 | |||
| 49 | - name: Typecheck | ||
| 50 | run: pnpm run typecheck | ||
| 51 | |||
| 52 | - name: Build CLI | ||
| 53 | run: pnpm run build | ||
| 54 | working-directory: ./cli | ||
| 55 | |||
| 56 | - name: Publish CLI and Layer | ||
| 57 | run: npx pkg-pr-new publish --compact './cli' './layer' | ||