docs: note the profile smoke in changelog and AGENTS #19
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| tags: ['v*'] | |
| pull_request: | |
| jobs: | |
| gates: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| node: ['22', '24'] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # The packageManager field in package.json pins the exact pnpm version, | |
| # so CI and local development resolve the same toolchain. | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: pnpm | |
| - name: Install | |
| run: pnpm install --frozen-lockfile | |
| - name: Typecheck | |
| run: pnpm run typecheck | |
| - name: Lint | |
| run: pnpm run lint | |
| - name: Test | |
| run: pnpm run test | |
| - name: Coverage | |
| run: pnpm run test:coverage | |
| - name: Build | |
| run: pnpm run build | |
| - name: Pack smoke | |
| run: pnpm run pack:check | |
| - name: Built artifacts are fresh | |
| run: git diff --exit-code lib | |
| # Assemble the published bundle into a real DSH profile and prove both | |
| # plugin rows mount: the only step that exercises cordis.patch.yml. | |
| smoke: | |
| needs: gates | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install | |
| run: pnpm install --frozen-lockfile | |
| - name: Pack | |
| run: pnpm pack | |
| - name: Install the DSH CLI | |
| run: npm install --global @deepseek-ai/dsh@0.1.0-rc.6 | |
| - name: Assemble a scratch profile with the packed bundle | |
| run: | | |
| dsh plugin --profile ci add ./dsh-doublecheck-*.tgz | |
| dsh --profile ci --dump-config > dump.txt | |
| - name: Assert the bundle rows mounted | |
| run: node scripts/assert-profile.mjs dump.txt |