From fb677a9913b403a7cfead9183fac8ce79ff11730 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 21 Mar 2024 01:38:13 +0000 Subject: [PATCH] add sharp in dev mode --- .github/workflows/build.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/genai-frontmatter.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d5342015b8..7e65ab2adc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,7 @@ jobs: - name: unit tests run: yarn test:samples - name: install sharp - run: cd docs && yarn add sharp + run: cd docs && yarn add -D sharp - name: docs run: yarn build:docs - name: run cli diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e2cd513684..5857843d6e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -26,7 +26,7 @@ jobs: - name: Compile run: yarn compile - name: Install sharp - run: cd docs && yarn add sharp + run: cd docs && yarn add -D sharp - name: Build docs run: yarn build:docs - name: no jekyll diff --git a/.github/workflows/genai-frontmatter.yml b/.github/workflows/genai-frontmatter.yml index 555c4a2165..82eb5d0dcc 100644 --- a/.github/workflows/genai-frontmatter.yml +++ b/.github/workflows/genai-frontmatter.yml @@ -27,7 +27,7 @@ jobs: OPENAI_API_TYPE: ${{ secrets.OPENAI_API_TYPE }} OPENAI_API_BASE: ${{ secrets.OPENAI_API_BASE }} - name: install sharp - run: cd docs && yarn add sharp + run: cd docs && yarn add -D sharp - name: docs run: yarn build:docs - name: Commit AI frontmatters