Skip to content

Commit 0d39ea9

Browse files
Copilothuan
andauthored
Upgrade GitHub Actions to v4 to fix cache error (#1544)
* Initial plan * Upgrade GitHub Actions to v4 and Node.js to v20 Co-authored-by: huan <1361891+huan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: huan <1361891+huan@users.noreply.github.com>
1 parent 9870ef6 commit 0d39ea9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/gh-pages.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
name: Test & Build
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0 # https://github.com/facebook/docusaurus/issues/2798#issuecomment-636602951
18-
- uses: actions/setup-node@v2
18+
- uses: actions/setup-node@v4
1919
with:
20-
node-version: 16
20+
node-version: 20
2121
cache: 'npm'
2222
cache-dependency-path: package.json
2323
- name: NPM Install
@@ -38,13 +38,13 @@ jobs:
3838
- test
3939
runs-on: ubuntu-latest
4040
steps:
41-
- uses: actions/checkout@v2
41+
- uses: actions/checkout@v4
4242
with:
4343
fetch-depth: 0 # https://github.com/facebook/docusaurus/issues/2798#issuecomment-636602951
4444

45-
- uses: actions/setup-node@v2
45+
- uses: actions/setup-node@v4
4646
with:
47-
node-version: 16
47+
node-version: 20
4848
cache: 'npm'
4949
cache-dependency-path: package.json
5050
- name: NPM Install

0 commit comments

Comments
 (0)