Skip to content

chore: CI + npm publish workflow, drop Datadog CI/e2e, v0.1.0#2

Open
Fiona2016 wants to merge 1 commit into
publishfrom
feat/flashcat-ci-release
Open

chore: CI + npm publish workflow, drop Datadog CI/e2e, v0.1.0#2
Fiona2016 wants to merge 1 commit into
publishfrom
feat/flashcat-ci-release

Conversation

@Fiona2016
Copy link
Copy Markdown
Collaborator

Repo-infra follow-up to #1. Makes fc-sdk-electron build/test/publish on GitHub under FlashCat. No package is published by this PR — the release flow is wired but must be triggered manually.

Changes

Version

  • 0.3.00.1.0 (FlashCat release baseline).

CI — new .github/workflows/ci.yml (PR + push to main/publish): format:checktypecheckbuildtest:unit (corepack yarn, --immutable). All four pass locally (401 unit tests).

Publish — rewrote .github/workflows/publish.yml:

  • target package @flashcatcloud/electron-sdk

  • auth via NPM_TOKEN secret (registry-url + NODE_AUTH_TOKEN), mirroring @flashcatcloud/browser-sdk — Datadog's Trusted-Publishers OIDC path removed

  • added a typecheck + build + test:unit gate before publishing

  • tag-driven (vX.Y.Z must match package.json), with a dry_run input

    Release flow: merge to publish → tag vX.Y.Z → run Publish from the tag (use dry_run first). Requires an NPM_TOKEN repo secret to be added.

Cleanup of inherited Datadog config

  • deleted .gitlab-ci.yml, repository.datadog.yml, static-analysis.datadog.yaml, .github/CODEOWNERS, Dockerfile
  • deleted the e2e/ Playwright harness (Datadog-coupled; would need a full rebrand + per-app installs to run) and removed its package.json scripts/devDeps (playwright); scoped the root tsconfig typecheck to src
  • trimmed stale renovate.json rules (ddbuild registry, e2e integration apps)

CHANGELOG — added the 0.1.0 FlashCat entry.

Not done / decisions pending

  • NPM_TOKEN secret must be added in repo settings (needs admin).
  • check-licenses / check-package-content scripts are not in CI yet — they need a TS runner and LICENSE-3rdparty.csv regeneration for the new @flashcatcloud/browser-core dep.
  • Actual npm publish intentionally not run; validate with dry_run once the local flow is signed off.

🤖 Generated with Claude Code

….1.0

- version 0.1.0 (FlashCat release baseline, was 0.3.0 from upstream)
- add .github/workflows/ci.yml: PR/push runs format:check + typecheck +
  build + unit tests (corepack yarn, immutable install)
- rewrite .github/workflows/publish.yml for FlashCat: @flashcatcloud package,
  NPM_TOKEN auth (registry-url + NODE_AUTH_TOKEN, mirrors browser-sdk), a
  typecheck/build/test gate before publishing, tag-driven release with a
  dry_run option. Trusted-Publishers OIDC path removed.
- delete Datadog-only CI/config: .gitlab-ci.yml, repository.datadog.yml,
  static-analysis.datadog.yaml, .github/CODEOWNERS, Dockerfile
- delete the e2e/ Playwright harness (Datadog-coupled; would need a full
  rebrand to run) and its package.json scripts/devDeps (playwright); scope
  the root tsconfig typecheck to src
- trim stale renovate rules (ddbuild registry, e2e integration apps)
- CHANGELOG: add 0.1.0 FlashCat entry

Gates verified locally: format:check, typecheck, build, test:unit (401), and
yarn install --immutable all pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

1 participant