Skip to content

Commit e7888c4

Browse files
committed
chore: update ci actions
1 parent 725074e commit e7888c4

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ jobs:
2323
with:
2424
timezone: Asia/Shanghai
2525

26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2727

2828
- name: Use Node.js ${{ matrix.node-version }}
29-
uses: actions/setup-node@v3
29+
uses: actions/setup-node@v4
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232

3333
- name: Get yarn cache directory path
3434
id: yarn-cache-dir-path
3535
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
3636

37-
- uses: actions/cache@v3
37+
- uses: actions/cache@v4
3838
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
3939
with:
4040
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

.github/workflows/gh-pages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
node-version: [18.x]
17+
node-version: [20.x]
1818
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1919

2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222

2323
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v3
24+
uses: actions/setup-node@v4
2525
with:
2626
node-version: ${{ matrix.node-version }}
2727

2828
- name: Get yarn cache directory path
2929
id: yarn-cache-dir-path
3030
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
3131

32-
- uses: actions/cache@v3
32+
- uses: actions/cache@v4
3333
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
3434
with:
3535
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -42,7 +42,7 @@ jobs:
4242
- run: yarn build:i18n
4343

4444
- name: Deploy
45-
uses: peaceiris/actions-gh-pages@v3
45+
uses: peaceiris/actions-gh-pages@v4
4646
with:
4747
github_token: ${{ secrets.GITHUB_TOKEN }}
4848
publish_dir: ./website/build

.github/workflows/release-please.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010

1111
strategy:
1212
matrix:
13-
node-version: [18.x]
13+
node-version: [20.x]
1414
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1515

1616
steps:
17-
- uses: google-github-actions/release-please-action@v3
17+
- uses: googleapis/release-please-action@v4
1818
id: release
1919
with:
2020
token: ${{ secrets.GH_TOKEN_EVE }}
@@ -24,13 +24,13 @@ jobs:
2424
bump-minor-pre-major: true
2525

2626
# The logic below handles the npm publication:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
# these if statements ensure that a publication only occurs when
2929
# a new release is created:
3030
if: ${{ steps.release.outputs.docusaurus-search-local--release_created }}
3131

3232
- name: Use Node.js ${{ matrix.node-version }}
33-
uses: actions/setup-node@v3
33+
uses: actions/setup-node@v4
3434
with:
3535
node-version: ${{ matrix.node-version }}
3636
if: ${{ steps.release.outputs.docusaurus-search-local--release_created }}
@@ -40,7 +40,7 @@ jobs:
4040
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
4141
if: ${{ steps.release.outputs.docusaurus-search-local--release_created }}
4242

43-
- uses: actions/cache@v3
43+
- uses: actions/cache@v4
4444
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
4545
with:
4646
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

0 commit comments

Comments
 (0)