Closed textbook closed 1 year ago
(Context for force merge: I put a large protection on the branch as we are working with a new team, so I merged this for you. Though I realise you can do this yourself I thought you probably wouldn't after seeing the 3 approval rule we have right now. )
Should make the checkout faster
Signed-off-by: Jonathan Sharpe jonathan@codeyourfuture.io
What does this change?
Updates the actions we use in CI
Description
Updates
actions/checkout
andactions/setup-node
to newer versions, and migrates the manual caching to the latter. This gives us less to maintain ourselves, avoids using deprecated features and, as the clone is now shallow, should make the checkout step much faster (3s on this PR's check compared to 25s here).The installation took slightly longer (26s vs. 13s) but that's from a cold cache, should be just as fast as the old version once it's warm and the time is dominated by the actual build anyway.
Who needs to know about this?
Rendered Pages