Skip to content

feat(drive-integration): wire up CI deploy scripts for lerna []#10986

Open
Mitch Goudy (mgoudy91) wants to merge 2 commits into
masterfrom
feat/drive-integration-ci-deploy
Open

feat(drive-integration): wire up CI deploy scripts for lerna []#10986
Mitch Goudy (mgoudy91) wants to merge 2 commits into
masterfrom
feat/drive-integration-ci-deploy

Conversation

@mgoudy91
Copy link
Copy Markdown
Contributor

Summary

  • Adds deploy and deploy:test scripts so lerna picks up the drive-integration app in the standard CI pipeline on master merge
  • deploy uploads to prod app definition 3EaGZUMKRKVZUyrcoNJ4o4 via contentful-app-scripts using vault-injected ${DEFINITIONS_ORG_ID} / ${CONTENTFUL_CMA_TOKEN}, then syncs to ${STATIC_S3_BASE}/google-docs and invalidates the prod CloudFront distribution
  • deploy:test does the same for the staging definition (4i0mp5lQtgNsHYVrD5jIkj) using ${TEST_ORG_ID} / ${TEST_CMA_TOKEN} and the staging S3 path
  • No build step in either script — CI runs npm run build before calling deploy, matching the pattern used by all other apps

Test plan

  • Confirm lerna run deploy --since=HEAD^ on master includes drive-integration
  • Confirm lerna run deploy:test --since=HEAD^ on staging includes drive-integration
  • Verify the staging deployment hits the correct app definition after merge to master

🤖 Generated with Claude Code

Adds `deploy` and `deploy:test` scripts that lerna picks up on master
merge — uploading the bundle via contentful-app-scripts and syncing to
S3/CloudFront using the same env var conventions as other apps in the
monorepo.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@mgoudy91 Mitch Goudy (mgoudy91) changed the title feat(drive-integration): wire up CI deploy scripts for lerna feat(drive-integration): wire up CI deploy scripts for lerna [] May 15, 2026
- Move test-only types (vitest/globals, @testing-library/jest-dom) and
  test/** include to tsconfig.test.json so they don't break the prod build
- Exclude test/** from the main tsconfig.json
- Add --ci flag to upload script to prevent interactive bundle comment prompt

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@mgoudy91 Mitch Goudy (mgoudy91) requested review from a team as code owners May 15, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants