Skip to content

Commit 5de55da

Browse files
authored
ci: update GitHub Actions (#16)
# CI - Update GitHub Actions to v4 to fix CD deployment pipeline
1 parent 1e367dd commit 5de55da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/website.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v2
2121
- name: Use Node.js ${{ env.node-version }}
22-
uses: actions/setup-node@v2
22+
uses: actions/setup-node@v4
2323
with:
2424
node-version: ${{ env.node-version }}
2525

2626
- name: Variable-Yarn cache directory path
2727
id: yarn-cache-dir-path
2828
run: echo "::set-output name=dir::$(yarn cache dir)"
2929
- name: Cache Yarn cache directory
30-
uses: actions/cache@v2
30+
uses: actions/cache@v4
3131
with:
3232
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
3333
key: ${{ runner.os }}-node-${{ env.node-version }}-yarn-${{ hashFiles('yarn.lock') }}
@@ -38,7 +38,7 @@ jobs:
3838
- name: Build website
3939
run: yarn build
4040
- name: "Upload website build artifact"
41-
uses: actions/upload-artifact@v2
41+
uses: actions/upload-artifact@v4
4242
with:
4343
name: ${{ env.website-package-name }}
4444
path: ./build/
@@ -57,9 +57,9 @@ jobs:
5757

5858
steps:
5959
# necessary for JamesIves/github-pages-deploy-action
60-
- uses: actions/checkout@v2
60+
- uses: actions/checkout@v4
6161

62-
- uses: actions/download-artifact@v2
62+
- uses: actions/download-artifact@v4
6363
with:
6464
name: ${{ env.website-package-name }}
6565
path: ${{ env.package-path }}

0 commit comments

Comments
 (0)