ci: fix build-ts-docs with npm install --ignore-scripts (#2143)

Signed-off-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com>
This commit is contained in:
Jacob Nguyen 2024-03-19 16:28:14 -05:00 committed by GitHub
parent a1bb6084ed
commit 0e9e5237c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -343,19 +343,18 @@ jobs:
steps: steps:
- checkout - checkout
- node/install: - node/install:
install-yarn: true
node-version: "18.16" node-version: "18.16"
- run: node --version - run: node --version
- run: corepack enable - run: corepack enable
- node/install-packages: - node/install-packages:
pkg-manager: yarn pkg-manager: npm
app-dir: gpt4all-bindings/typescript app-dir: gpt4all-bindings/typescript
override-ci-command: yarn install override-ci-command: npm install --ignore-scripts
- run: - run:
name: build docs ts yo name: build docs ts yo
command: | command: |
cd gpt4all-bindings/typescript cd gpt4all-bindings/typescript
yarn docs:build npm run docs:build
build-py-docs: build-py-docs:
docker: docker:
- image: circleci/python:3.8 - image: circleci/python:3.8