Skip to content

Commit 3d324fc

Browse files
committed
fix actions
1 parent a504946 commit 3d324fc

File tree

2 files changed

+6
-26
lines changed

2 files changed

+6
-26
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,13 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: install node.js
19-
uses: actions/setup-node@v3
19+
uses: actions/setup-node@v4
2020
with:
21-
node-version: 18
22-
23-
- uses: pnpm/action-setup@v2
24-
name: install pnpm
25-
id: pnpm-install
26-
with:
27-
version: 8
28-
run_install: false
29-
30-
- name: get pnpm store
31-
id: pnpm-cache
32-
shell: bash
33-
run: |
34-
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
35-
36-
- name: set up pnpm cache
37-
uses: actions/cache@v3
38-
with:
39-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
40-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
41-
restore-keys: |
42-
${{ runner.os }}-pnpm-store-
21+
node-version: 20
22+
cache: 'pnpm'
4323

4424
- name: install dependencies
4525
run: pnpm install
@@ -48,7 +28,7 @@ jobs:
4828
run: pnpm run build
4929

5030
- name: upload artifact
51-
uses: actions/upload-artifact@v3
31+
uses: actions/upload-artifact@v4
5232
with:
5333
name: help-site
5434
path: build

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
if: needs.check.outputs.secrets == 'ok'
5050
steps:
5151
- name: checkout
52-
uses: actions/checkout@v3
52+
uses: actions/checkout@v4
5353

5454
- name: setup python
5555
uses: actions/setup-python@v4

0 commit comments

Comments
 (0)