From d88c7390ce9b62a79de324d1ca49b106029962cb Mon Sep 17 00:00:00 2001 From: skzhang1 Date: Thu, 21 Jul 2022 14:48:21 -0400 Subject: [PATCH] ignore engine --- .github/workflows/deploy-website.yml | 4 ++-- Dockerfile | 2 +- website/docs/Contribute.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 3d816d98f..4130b16e4 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -35,7 +35,7 @@ jobs: - name: Test Build run: | if [ -e yarn.lock ]; then - yarn install --frozen-lockfile + yarn install --frozen-lockfile --ignore-engines yarn build elif [ -e package-lock.json ]; then npm ci @@ -71,7 +71,7 @@ jobs: - name: Build website run: | if [ -e yarn.lock ]; then - yarn install --frozen-lockfile + yarn install --frozen-lockfile --ignore-engines yarn build elif [ -e package-lock.json ]; then npm ci diff --git a/Dockerfile b/Dockerfile index 6447fe5bf..b6cb7c66b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ RUN pre-commit install RUN npm install --global yarn RUN pip install pydoc-markdown RUN cd website -RUN yarn install --frozen-lockfile +RUN yarn install --frozen-lockfile --ignore-engines # override default image starting point CMD /bin/bash diff --git a/website/docs/Contribute.md b/website/docs/Contribute.md index 8df182faf..f87ac7fc9 100644 --- a/website/docs/Contribute.md +++ b/website/docs/Contribute.md @@ -84,7 +84,7 @@ Then: npm install --global yarn # skip if you use the dev container we provided pip install pydoc-markdown==4.5.0 # skip if you use the dev container we provided cd website -yarn install --frozen-lockfile +yarn install --frozen-lockfile --ignore-engines pydoc-markdown yarn start ```