Skip to content

Commit 9cf1782

Browse files
jamadeoclaude
andauthored
ci: switch npm publish to OIDC trusted publishing (#8454)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b1eff5f commit 9cf1782

File tree

17 files changed

+236
-373
lines changed

17 files changed

+236
-373
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ jobs:
121121
export CARGO_INCREMENTAL=0
122122
cargo clippy --workspace --all-targets --exclude v8 -- -D warnings
123123
124-
openapi-schema-check:
125-
name: Check OpenAPI Schema is Up-to-Date
124+
schema-check:
125+
name: Check Generated Schemas are Up-to-Date
126126
runs-on: ubuntu-latest
127127
needs: changes
128128
if: needs.changes.outputs.code == 'true' || github.event_name != 'pull_request'
@@ -140,16 +140,23 @@ jobs:
140140
- name: Cache Cargo artifacts
141141
uses: Swatinem/rust-cache@42dc69e1aa15d09112580998cf2ef0119e2e91ae # v2
142142

143-
- name: Install Node.js Dependencies for OpenAPI Check
144-
run: source ../../bin/activate-hermit && pnpm install --frozen-lockfile
145-
working-directory: ui/desktop
143+
- name: Install Node.js Dependencies
144+
run: |
145+
source ./bin/activate-hermit
146+
cd ui/desktop && pnpm install --frozen-lockfile
147+
cd ../acp && pnpm install --frozen-lockfile
146148
147149
- name: Check OpenAPI Schema is Up-to-Date
148150
run: |
149151
source ./bin/activate-hermit
150152
hermit uninstall rustup
151153
just check-openapi-schema
152154
155+
- name: Check ACP Schema is Up-to-Date
156+
run: |
157+
source ./bin/activate-hermit
158+
just check-acp-schema
159+
153160
desktop-lint:
154161
name: Test and Lint Electron Desktop App
155162
runs-on: macos-latest

0 commit comments

Comments
 (0)