Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Include `--ignore-workspace` flag in `install` recipe

Dhruv Bhanushalidfffeab800f8
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index 96d9b8f83..2bfeb9cca 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -91,7 +91,7 @@ jobs:
- name: Install dependences
run: |
pnpm install
- just frontend/install --ignore-workspace
+ just frontend/install
- name: Cache pre-commit envs
uses: actions/cache@v3
@@ -438,7 +438,7 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
setup_python: false
- install_recipe: frontend/install --ignore-workspace
+ install_recipe: frontend/install
- name: Run unit tests
run: just frontend/run test:unit
@@ -458,7 +458,7 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
setup_python: false
- install_recipe: frontend/install --ignore-workspace
+ install_recipe: frontend/install
- name: Run Storybook smoke-test
run: just frontend/run storybook:smoke
@@ -478,7 +478,7 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
setup_python: false
- install_recipe: frontend/install --ignore-workspace
+ install_recipe: frontend/install
- name: Run build
run: just frontend/run build
@@ -500,7 +500,7 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
setup_python: false
- install_recipe: frontend/install --ignore-workspace
+ install_recipe: frontend/install
- name: Run Nuxt Playwright e2e tests
run: just frontend/run test:playwright e2e --workers=2
@@ -528,7 +528,7 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
setup_python: false
- install_recipe: frontend/install --ignore-workspace
+ install_recipe: frontend/install
- name: Run Nuxt Playwright visual regression tests
run: just frontend/run test:playwright visual-regression --workers=2
@@ -556,7 +556,7 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
setup_python: false
- install_recipe: frontend/install --ignore-workspace
+ install_recipe: frontend/install
- name: Run Storybook Playwright tests
run: just frontend/run test:storybook
@@ -636,7 +636,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
setup_python: false
# Python is not needed to build the image.
- install_recipe: frontend/install --ignore-workspace
+ install_recipe: frontend/install
- name: Download translation strings
run: just frontend/run i18n
@@ -690,7 +690,7 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
setup_python: false
- install_recipe: frontend/install --ignore-workspace
+ install_recipe: frontend/install
- name: Load Docker images
uses: ./.github/actions/load-img
@@ -764,7 +764,7 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
setup_python: false
- install_recipe: frontend/install --ignore-workspace
+ install_recipe: frontend/install
- name: Load Docker images
uses: ./.github/actions/load-img
diff --git a/.github/workflows/generate_pot.yml b/.github/workflows/generate_pot.yml
index e3813de8a..813d11615 100644
--- a/.github/workflows/generate_pot.yml
+++ b/.github/workflows/generate_pot.yml
@@ -23,7 +23,7 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
setup_python: false
- install_recipe: frontend/install --ignore-workspace
+ install_recipe: frontend/install
- name: Generate PO
run: just frontend/run i18n:generate-pot
diff --git a/frontend/justfile b/frontend/justfile
index 40403ecde..bad5dd0c9 100644
--- a/frontend/justfile
+++ b/frontend/justfile
@@ -9,7 +9,7 @@ set dotenv-load := false
# Install dependencies
install *args: && core-locales
- pnpm install {{ args }}
+ pnpm install --ignore-workspace {{ args }}
# Ensure that some core locales are present
core-locales:
diff --git a/justfile b/justfile
index baa0047fb..c8948b817 100644
--- a/justfile
+++ b/justfile
@@ -40,7 +40,7 @@ DC_USER := env_var_or_default("DC_USER", "opener")
@install:
just api/install
just ingestion_server/install
- just frontend/install --ignore-workspace
+ just frontend/install
just automations/python/install
just automations/js/install