The JS SDK in devtools was out of date by several versions. Only recently have regressions started coming up (as noted in above linked issue). This PR 1) adds a CI job to catch when @growthbook/growthbook is out-of-date and 2) upgrades said package to latest
Caveats - The opening of a pull request isn't the most ideal time to check whether our SDK is out of date - it's best to check before publishing the extension. However having a CI job check for this the quickest way to have a forcing function somewhere in the lifecycle to ensure we stay up to date. No doubt if this CI check was there prior we would have caught this much earlier.
Changes:
Adds a script and a github workflow to run said script upon any pull request that includes changes to src/**/*.ts
Fixes #1664
The JS SDK in devtools was out of date by several versions. Only recently have regressions started coming up (as noted in above linked issue). This PR 1) adds a CI job to catch when
@growthbook/growthbook
is out-of-date and 2) upgrades said package to latestCaveats - The opening of a pull request isn't the most ideal time to check whether our SDK is out of date - it's best to check before publishing the extension. However having a CI job check for this the quickest way to have a forcing function somewhere in the lifecycle to ensure we stay up to date. No doubt if this CI check was there prior we would have caught this much earlier.
Changes:
src/**/*.ts
@growthbook/growthbook
to 0.28.0CI Job successfully failing: