Skip to content

Commit

Permalink
ci(docs): fix install error
Browse files Browse the repository at this point in the history
  • Loading branch information
drl990114 committed Nov 9, 2023
1 parent 30cc03f commit 7476e26
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/deploy-tcb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,28 @@ env:
CI: true
jobs:
publish:
name: Publish
name: Publish Docs to TCB
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/[email protected]
with:
ref: ${{ github.head_ref }}
version: 8

- name: Cache pnpm modules and build
uses: actions/cache@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
path: |
node_modules
key: ${{ runner.os }}-tcb
restore-keys: |
${{ runner.os }}-
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: install
uses: pnpm/action-setup@v2
with:
version: 7
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- run: pnpm start

- name: Build
run: pnpm run build:doc
Expand Down

0 comments on commit 7476e26

Please sign in to comment.