12
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2026-05-15 21:00:31 +00:00

chore: upgrade Node.js to 24 and update dependencies

- Upgrade Node.js from 20 to 24.15.0 across all CI jobs and workflows
- Run npm audit fix to resolve CVEs in dependencies
- Generate TLS certs dynamically via scripts/gen-tls-certs.sh instead of using static certs
- Add Makefile targets for running each integration test suite locally
This commit is contained in:
Srikrishna Iyer 2026-05-06 20:26:22 +05:30
parent 79632e33d6
commit 647e66c75f
No known key found for this signature in database
GPG key ID: 212F890C328D4059
15 changed files with 526 additions and 709 deletions

View file

@ -36,7 +36,9 @@ async function getSecrets(secretRequests, client, ignoreNotFound) {
for (const secretRequest of secretRequests) {
let { path, selector } = secretRequest;
const requestPath = `v1/${path}`;
// Strip leading slashes to avoid double-slash in the request path
// (e.g. /cubbyhole/test → v1/cubbyhole/test)
const requestPath = `v1/${path.replace(/^\/+/, '')}`;
let body;
let cachedResponse = false;
if (responseCache.has(requestPath)) {