Skip to content

Commit

Permalink
fix: update GitHub Actions to use latest cache and upload artifact ve…
Browse files Browse the repository at this point in the history
…rsions
  • Loading branch information
RPDeshaies committed Dec 10, 2024
1 parent c684b10 commit 2ac1b22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
node-version: "18"
# Cache
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -45,7 +45,7 @@ jobs:
run: npm run validate
# Upload Artifacts
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: dist
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/int.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
node-version: "18"
# Cache
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -40,13 +40,13 @@ jobs:
with:
start: npm run serve:build
- name: Upload Cypress Videos
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: cypress-videos
path: cypress/videos
- name: Upload Cypress Screenshots
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: cypress-screenshots
Expand Down

0 comments on commit 2ac1b22

Please sign in to comment.