File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,17 +26,20 @@ permissions:
2626jobs :
2727 release :
2828 runs-on : ubuntu-latest
29+ # This job can prove its identity to npm, so actions and npm are pinned.
2930 steps :
30- - uses : actions/checkout@v4
31+ - uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
32+ with :
33+ persist-credentials : false
3134
3235 # Trusted publishing needs Node 22.14 or later and npm 11.5.1 or later.
33- - uses : actions/setup-node@v4
36+ - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3437 with :
3538 node-version : " 22"
3639 registry-url : https://registry.npmjs.org
3740
3841 - name : Update npm
39- run : npm install -g npm@11
42+ run : npm install -g npm@11.21.1
4043
4144 - name : Run the tests
4245 run : node --test test/*.test.mjs
5154 fi
5255
5356 # A pinned release with its SHA-256 (from registry_<version>_checksums.txt
54- # of that release): this job can prove its identity to npm, so it must
55- # not run whatever "latest" is. Change both values together.
57+ # of that release), not whatever "latest" is. Change both values together.
5658 - name : Install mcp-publisher
5759 env :
5860 MCP_PUBLISHER_VERSION : v1.8.4
Original file line number Diff line number Diff line change 1- // A local server that follows docs/ public- api.md , for the CLI tests.
1+ // A local server that follows the public API (https://inkstudioai.com/ api/v1/openapi.json) , for the CLI tests.
22import { createServer } from "node:http" ;
33
44export const VALID_KEY = "isk_test_valid_key_0001" ;
55export const OTHER_KEY = "isk_test_other_key_0002" ;
66export const IMAGE_BYTES = Buffer . from ( "RIFF0000WEBPVP8 fake image bytes" ) ;
77
8- /** The same plans and packs as src/lib/billing/catalog.ts , in its order. */
8+ /** The same plans and packs as GET /api/v1/pricing , in its order. */
99export const PRICING = {
1010 currency : "usd" ,
1111 pricingUrl : "https://inkstudioai.com/pricing" ,
You can’t perform that action at this time.
0 commit comments