Skip to content

Commit

Permalink
fix: update upload-artifact to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedNassar7 committed Nov 12, 2024
1 parent 83f31c0 commit b9cac47
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '20' # Match your local Node version
node-version: 16

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

- name: Build project
run: npm run build

- name: Upload production-ready build files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3 # Updated to v3
with:
name: production-files
path: ./dist
Expand Down

0 comments on commit b9cac47

Please sign in to comment.