Skip to content

Commit a418615

Browse files
bugerclaude
andauthored
fix: backport #7995 — fix tslib and npm ci in ci/tests/specs (#8065)
## Summary Full backport of #7995 to release-5.12. - Adds `tslib` as an explicit dependency in `ci/tests/specs/package.json` to fix `Cannot find module 'tslib'` error in portman contract tests - Commits `package-lock.json` and removes it from `.gitignore` for deterministic builds - Changes `npm install --ignore-scripts` to `npm ci` in `ci/tests/specs/Taskfile.yml` **Note:** The policy schema changes (`PostExpiryAction` `omitzero` tag and associated tests) from #7995 are excluded because the `PostExpiryAction` field does not exist in release-5.12. ## Test plan - [ ] CI Tests job passes on this PR - [ ] Portman contract tests no longer fail with `Cannot find module 'tslib'` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e8a2e0a commit a418615

4 files changed

Lines changed: 3257 additions & 3 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ main
7676
/coprocess/*.pb.go-e
7777
ci/tests/specs/tmp
7878
ci/tests/specs/node_modules
79-
ci/tests/specs/package-lock.json
8079
ci/tests/specs/gateway.collection.postman.json
8180
ci/tests/specs/.env
8281
ci/tests/specs/apps

ci/tests/specs/Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tasks:
1313
desc: "Run the OpenAPI specification tests"
1414
cmds:
1515
- venom run testdata/populate_gateway_test_data.yaml --var bearerToken=$PORTMAN_API_Key --stop-on-failure && rm venom*.log
16-
- npm install --ignore-scripts
16+
- npm ci
1717
- npm start
1818

1919
build:

0 commit comments

Comments
 (0)