Skip to content

Commit

Permalink
ci: update GitHub Actions (#16)
Browse files Browse the repository at this point in the history
# CI

- Update GitHub Actions to v4 to fix CD deployment pipeline
  • Loading branch information
LayZeeDK authored Sep 29, 2024
1 parent 1e367dd commit 5de55da
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}

- name: Variable-Yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache Yarn cache directory
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-node-${{ env.node-version }}-yarn-${{ hashFiles('yarn.lock') }}
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Build website
run: yarn build
- name: "Upload website build artifact"
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.website-package-name }}
path: ./build/
Expand All @@ -57,9 +57,9 @@ jobs:

steps:
# necessary for JamesIves/github-pages-deploy-action
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: ${{ env.website-package-name }}
path: ${{ env.package-path }}
Expand Down

0 comments on commit 5de55da

Please sign in to comment.