Skip to content

Commit

Permalink
Merge pull request #10 from rdavydov/main
Browse files Browse the repository at this point in the history
fix: update deprecated `actions/upload-artifact: v2` to a supported version
  • Loading branch information
ErickKS authored Dec 3, 2024
2 parents 6fb2407 + 06cf959 commit 19f6b9e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 18
uses: actions/setup-node@v3

- name: Install dependencies
uses: bahmutov/npm-install@v1
Expand All @@ -26,7 +24,7 @@ jobs:
run: npm run build

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

steps:
- name: Download artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: production-files
path: ./dist
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,10 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16
uses: actions/setup-node@v3

- name: Install dependencies
uses: bahmutov/npm-install@v1
Expand All @@ -63,7 +61,7 @@ jobs:
run: npm run build

- name: Upload production-ready build files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: production-files
path: ./dist
Expand All @@ -76,7 +74,7 @@ jobs:

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

0 comments on commit 19f6b9e

Please sign in to comment.