timovv / notion-website-template

Make a personal website using Notion and GitHub Pages
130 stars 62 forks source link

Update to checkout v3 (to use node.js 16 and get rid of a warning) #12

Closed Trost123 closed 1 year ago

Trost123 commented 1 year ago

Use actions/checkout@v3 instead of v2 to get rid of node version warnings.

Details: the workflow was loggin a warning:

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

I found this thread and found out that bumping the version of checkout to v3 gets rid of this warning. Tested the workflow after this change and seems to be working just fine, without throwing this warning. 👍

timovv commented 1 year ago

Hi @Trost123, thank you for the PR and investigation! Much appreciated (and sorry for taking so long to get it merged!)