getappmap / getappmap/appmap-js

ci: Only run storybook once on merge

Open
#908 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

chore
Dominant language
TypeScript
Stars
53
Forks
18
Avg merge
3d 18h
Merged PRs (30d)
8

Description

There's a storybook run in ci that runs on every main branch build; it takes a long time (~20 minutes) and only needs to be run once. However, it currently runs three times (once for every node version). For an example, see: https://app.travis-ci.com/github/getappmap/appmap-js/builds/258828217

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the CI configuration and the Storybook job, focusing on how the Node-version matrix invokes it. Make the main-branch build run Storybook once rather than once per Node version, then validate the configuration against the linked Travis build pattern.

Written by the indexing model from the issue text.

Assessment

Tech stack
storybook, typescript
Domain
ci-cd
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.