Skip to content

Commit

Permalink
fix: update to latest GitHub Actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedNassar7 committed Nov 12, 2024
1 parent b9cac47 commit 9618533
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3 # Updated to latest v3

- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3 # Updated to latest v3
with:
node-version: 16
node-version: '20' # Use the version you are using, Node.js v20 in this case

- name: Install dependencies
uses: bahmutov/npm-install@v1
run: npm install

- name: Build project
run: npm run build

- name: Upload production-ready build files
uses: actions/upload-artifact@v3 # Updated to v3
uses: actions/upload-artifact@v4 # Updated to v4
with:
name: production-files
path: ./dist
Expand All @@ -39,7 +39,7 @@ jobs:

steps:
- name: Download artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4 # Updated to v4
with:
name: production-files
path: ./dist
Expand Down

0 comments on commit 9618533

Please sign in to comment.