Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/publish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:

- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .node-version
node-version: 24
registry-url: https://registry.npmjs.org

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand All @@ -55,7 +56,7 @@ jobs:

- name: Publish dev package to npm
working-directory: packages/cli
run: pnpm publish --access public --tag dev --provenance --no-git-checks
run: npm publish --access public --tag dev --provenance

- name: Summarize dev publish
run: |
Expand Down Expand Up @@ -93,7 +94,8 @@ jobs:

- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .node-version
node-version: 24
registry-url: https://registry.npmjs.org

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down Expand Up @@ -137,7 +139,7 @@ jobs:
- name: Publish official package to npm
if: ${{ !inputs.dry_run }}
working-directory: packages/cli
run: pnpm publish --access public --tag latest --provenance --no-git-checks
run: npm publish --access public --tag latest --provenance

- name: Create release tag
if: ${{ !inputs.dry_run }}
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/publish-compute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:

- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .node-version
node-version: 24
registry-url: https://registry.npmjs.org

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand All @@ -55,7 +56,7 @@ jobs:

- name: Publish dev package to npm
working-directory: packages/compute
run: pnpm publish --access public --tag dev --provenance --no-git-checks
run: npm publish --access public --tag dev --provenance

- name: Summarize dev publish
run: |
Expand Down Expand Up @@ -93,7 +94,8 @@ jobs:

- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .node-version
node-version: 24
registry-url: https://registry.npmjs.org

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down Expand Up @@ -137,7 +139,7 @@ jobs:
- name: Publish official package to npm
if: ${{ !inputs.dry_run }}
working-directory: packages/compute
run: pnpm publish --access public --tag latest --provenance --no-git-checks
run: npm publish --access public --tag latest --provenance

- name: Create release tag
if: ${{ !inputs.dry_run }}
Expand Down
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Use this file for repo-wide instructions. Use package-local `AGENTS.md` files fo
## Package Manager

- Use `pnpm` for commands run inside this repo.
- Exception: use `npm publish` for npm release workflow publish steps so npm trusted publishing can use its OIDC authentication flow.
- Use `npm` or multiple package-manager examples in user-facing content.

## Pre-Commit Verification
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The publish workflow is prepared for npm trusted publishing with provenance.
Official releases publish with:

```bash
pnpm publish --access public --tag latest --provenance
npm publish --access public --tag latest --provenance
```

Local development should build and inspect the package, but should not publish it.
Expand Down
Loading