Skip to content

Commit

Permalink
Fix warning related to Node version 20
Browse files Browse the repository at this point in the history
* Fix the warning below by adding

"runs:
      using: 'node20'
      main: 'main.js'"

to Setup NodeJS step

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v2, aws-actions/configure-aws-credentials@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
  • Loading branch information
Afsha10 committed Jan 30, 2024
1 parent befd54c commit f8dba3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/frontend-s3-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:

- name: Setup NodeJS
uses: actions/setup-node@v2
runs:
using: "node20"
main: "main.js"

- name: Install Dependencies
run: npm install
Expand Down

0 comments on commit f8dba3b

Please sign in to comment.