Skip to content

Instantly share code, notes, and snippets.

@edolix
Last active August 23, 2022 06:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edolix/0274b3c63c124646ab880ed237b6c5b7 to your computer and use it in GitHub Desktop.
Save edolix/0274b3c63c124646ab880ed237b6c5b7 to your computer and use it in GitHub Desktop.
Team SDK CI Requirements

Technical Requirements

  • On commit, build and test

    • TypeScript - JavaScript
    • All run on docker container
    • Playwright usage for e2e-tests (through Docker images)
    • Some projects have flaky tests, so test reports/analysis/insights is important
    • Some projects take 20-30 minutes, but we don't want them to block faster workflows
      • improved caching capabilities would speed this up
    • detection of new pushes that can kill running jobs
      • merge 2 PRs to master/main, only want to latest to run
  • Publish a dev tag to NPM on merge to main

    • Pipeline to build/test - we have Node.js scripts to run
    • If everything is OK, publish a (ie @dev) tag on NPM
  • Ad-hoc branch NPM release

    • Trigger manually for now: run the pipeline di build/test the packages and then release a specific NPM tag (ie: @latest when we want to cut & release a stable SDK version)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment