Skip to content

Commit 7476e26

Browse files
committed
ci(docs): fix install error
1 parent 30cc03f commit 7476e26

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

.github/workflows/deploy-tcb.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,28 @@ env:
1212
CI: true
1313
jobs:
1414
publish:
15-
name: Publish
15+
name: Publish Docs to TCB
1616
runs-on: ubuntu-latest
17+
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
node-version: [16.x]
22+
1723
steps:
18-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v3
25+
- name: Install pnpm
26+
uses: pnpm/[email protected]
1927
with:
20-
ref: ${{ github.head_ref }}
28+
version: 8
2129

22-
- name: Cache pnpm modules and build
23-
uses: actions/cache@v3
30+
- name: Use Node.js ${{ matrix.node-version }}
31+
uses: actions/setup-node@v3
2432
with:
25-
path: |
26-
node_modules
27-
key: ${{ runner.os }}-tcb
28-
restore-keys: |
29-
${{ runner.os }}-
33+
node-version: ${{ matrix.node-version }}
34+
cache: 'pnpm'
3035

31-
- name: install
32-
uses: pnpm/action-setup@v2
33-
with:
34-
version: 7
35-
run_install: |
36-
- recursive: true
37-
args: [--frozen-lockfile, --strict-peer-dependencies]
36+
- run: pnpm start
3837

3938
- name: Build
4039
run: pnpm run build:doc

0 commit comments

Comments
 (0)