Skip to content

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

Update all usages of `just` recipes

Dhruv Bhanushalidd043aa9fba7
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 3af985fbf..1403bf0a9 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -51,8 +51,6 @@ jobs:
- name: Run pre-commit to lint files
run: |
- pip install -U pip
- pip install pipenv
- just install
+ just automations/js/install
just precommit
just lint
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 2cbb250b8..a51cb5d9b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -110,16 +110,16 @@ repos:
hooks:
- id: render-precommit
name: render-precommit
- entry: bash -c 'just render-precommit'
+ entry: bash -c 'just automations/js/render-precommit'
language: system
pass_filenames: false
- id: render-prettier
name: render-prettier
- entry: bash -c 'just render-prettier'
+ entry: bash -c 'just automations/js/render-prettier'
language: system
pass_filenames: false
- id: render-github
name: render-github
- entry: bash -c 'just render-github'
+ entry: bash -c 'just automations/js/render-github'
language: system
pass_filenames: false
diff --git a/templates/.pre-commit-config.local.yaml.jinja b/templates/.pre-commit-config.local.yaml.jinja
index 7d63fd58d..460ab656e 100644
--- a/templates/.pre-commit-config.local.yaml.jinja
+++ b/templates/.pre-commit-config.local.yaml.jinja
@@ -13,7 +13,7 @@
{% for render in renders %}
- id: render-{{ render }}
name: render-{{ render }}
- entry: bash -c 'just render-{{ render }}'
+ entry: bash -c 'just automations/js/render-{{ render }}'
language: system
pass_filenames: false
{% endfor %}