Skip to content

Commit ac67402

Browse files
committed
refactor: update Tencent CI workflow to build project and adjust Node.js version to 20.x
1 parent de865d8 commit ac67402

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.github/workflows/tencent.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,22 @@ on:
66
- master
77

88
jobs:
9-
deploy:
9+
build:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- name: Checkout
14-
uses: actions/checkout@v4
15-
16-
- name: Setup pnpm
17-
uses: pnpm/action-setup@v4
13+
- name: Checkout master
14+
uses: actions/checkout@v2
1815
with:
19-
version: 9
16+
ref: master
2017

21-
- name: Setup Node.js
22-
uses: actions/setup-node@v4
18+
- name: Setup node
19+
uses: actions/setup-node@v1
2320
with:
24-
node-version: "22"
25-
cache: "pnpm"
21+
node-version: "20.x"
2622

27-
- name: Install dependencies
28-
run: pnpm install --frozen-lockfile
23+
- name: Build project
24+
run: npm i -g pnpm && pnpm install && pnpm build
2925

3026
- name: Build
3127
run: pnpm build

0 commit comments

Comments
 (0)