Closed lobsterkatie closed 1 year ago
we should probably get off node 10 and cache directly with the newer setup-node action instead of our own manual cache https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-data
we should probably get off node 10 and cache directly with the newer setup-node action instead of our own manual cache actions/setup-node@
main
/docs/advanced-usage.md#caching-packages-data
Agreed. One change at a time, though. 🙂
[EDIT]: I did need to bump node, just because yarn is stricter in checking current node version vs dependency node version requirements than npm is, and netlify-cli
wants at least node 12. I went to 16 for now just because it'll take a while for that to get out of date, and given what we're doing in that GHA workflow I don't honestly think it matters what node we're using.
This switches to using
yarn
rather thannpm
for managing dependencies, since that's the standard practice at Sentry (see our repos for the main sentry app, our JS SDK, the webpack plugin, etc.).Ref: WOR-2817