Skip to content

Commit 5374fad

Browse files
committed
feat: update github action
1 parent 125cc2f commit 5374fad

File tree

4 files changed

+10
-51
lines changed

4 files changed

+10
-51
lines changed

.github/workflows/create-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
run: git submodule update --init --recursive
1818

1919
- name: Setup Node.js
20-
uses: actions/setup-node@v2
20+
uses: actions/setup-node@v4
2121
with:
22-
node-version: "16"
22+
node-version: "20"
2323

2424
- name: Setup Git
2525
run: |
@@ -39,11 +39,11 @@ jobs:
3939
fs.writeFileSync('package.json', JSON.stringify(packageJson, null, 2));
4040
EOF
4141
42-
- uses: pnpm/action-setup@v2
42+
- uses: pnpm/action-setup@v4
4343
name: Install pnpm
4444
id: pnpm-install
4545
with:
46-
version: 7
46+
version: 18
4747
run_install: false
4848

4949
- name: Get pnpm store directory

.github/workflows/publish-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
run: git submodule update --init --recursive
1717

1818
- name: Setup Node.js
19-
uses: actions/setup-node@v2
19+
uses: actions/setup-node@v4
2020
with:
21-
node-version: "16"
21+
node-version: "20"
2222

2323
- name: Setup Git
2424
run: |
@@ -38,11 +38,11 @@ jobs:
3838
fs.writeFileSync('package.json', JSON.stringify(packageJson, null, 2));
3939
EOF
4040
41-
- uses: pnpm/action-setup@v2
41+
- uses: pnpm/action-setup@v4
4242
name: Install pnpm
4343
id: pnpm-install
4444
with:
45-
version: 7
45+
version: 10
4646
run_install: false
4747

4848
- name: Get pnpm store directory

.github/workflows/sub-module.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
on:
22
push:
3-
branches: ['master']
4-
workflow_dispatch:
5-
workflow_run:
6-
workflows: ["Sync Submodule"]
7-
types:
8-
- completed
3+
branches: ['main']
94

105
name: Test Release
116

@@ -23,7 +18,7 @@ jobs:
2318
- name: Setup Node.js
2419
uses: actions/setup-node@v2
2520
with:
26-
node-version: "16"
21+
node-version: "18"
2722

2823
- name: Setup Git
2924
run: |

0 commit comments

Comments
 (0)