starbeamjs/starbeam

Upgrade GitHub Actions for Node 16 support

elwayman02 opened this issue · 0 comments

Our current GitHub actions leverage Node 12 under the hood, for which support was fully deprecated last month. Our CI setup throws the following warning now:

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout, actions/setup-node, actions/cache, pnpm/action-setup, pnpm/action-setup, actions/cache, actions/setup-node, actions/checkout

As such, we need to upgrade to the latest versions of each action named above:

  • actions/checkout
  • actions/setup-node
  • actions/cache
  • pnpm/action-setup

These occur in the following two .github files:

CI config: https://github.com/starbeamjs/starbeam/blob/main/.github/workflows/ci.yml
Node Setup/Install config: https://github.com/starbeamjs/starbeam/blob/main/.github/actions/setup-node-and-install/action.yml