docs(tests): document live account credentials
This commit is contained in:
@@ -42,6 +42,15 @@ npm run pi:authenticated
|
||||
|
||||
Both commands accept additional pi arguments after `--`, for example `npm run pi:authenticated -- --model claude-sonnet-4-6`.
|
||||
|
||||
Run the transport-specific live tests with separate credentials:
|
||||
|
||||
```sh
|
||||
COMMANDCODE_E2E_GO_API_KEY_FILE=/path/to/go-key npm run test:e2e:live:go
|
||||
COMMANDCODE_E2E_PROVIDER_API_KEY_FILE=/path/to/provider-key npm run test:e2e:live:provider
|
||||
```
|
||||
|
||||
Use `npm run test:e2e:live:all` with both file variables to run them sequentially. Store the keys in a secret manager and export each one to a new mode-`0600` temporary file for the test; never add key files to the repository. The direct `COMMANDCODE_E2E_GO_API_KEY` and `COMMANDCODE_E2E_PROVIDER_API_KEY` variables are intended primarily for protected CI secrets.
|
||||
|
||||
Before opening a PR, run:
|
||||
|
||||
```sh
|
||||
|
||||
Reference in New Issue
Block a user