Commit db85f4b
fix(ci): make the build installable by pinning the unreleased SDK
The CI failed at install: `@gladysassistant/integration-sdk@^0.10.0` does
not exist on npm — the weather API is still an open pull request
(integration-sdk-js#19), so nothing could be installed and no test could
run.
Pin the dependency to the source archive of that pull request's commit,
which makes `npm install`, `npm ci` and the Docker build work today:
https://github.com/GladysAssistant/integration-sdk-js/archive/af9d20b....tar.gz
An https tarball rather than a `git+https://` dependency on purpose: npm
rewrites GitHub git dependencies to `git+ssh://` in the lockfile, which
fails on a CI runner with no SSH key. The tarball resolves over plain
https, is pinned to an immutable commit, carries an integrity hash and
needs no git in the image.
With a resolvable dependency there is a lockfile again, so `npm ci` and
the npm cache come back in the CI workflow, and the release workflow
commits package-lock.json unconditionally.
The README says what to revert once the SDK publishes the weather API.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NjFeSaeYevwCQa2KrZ74eZ1 parent 34caf7e commit db85f4b
5 files changed
Lines changed: 1022 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 35 | | |
41 | | - | |
| 36 | + | |
42 | 37 | | |
43 | 38 | | |
44 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 88 | + | |
92 | 89 | | |
93 | 90 | | |
94 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
| 104 | + | |
| 105 | + | |
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
110 | | - | |
111 | | - | |
| 109 | + | |
| 110 | + | |
112 | 111 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
119 | 135 | | |
120 | 136 | | |
121 | 137 | | |
| |||
0 commit comments