diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 83432e7bf..a25860a67 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: - name: Build static assets run: | - npm install + npm clean-install npm run dist - name: Cache dependencies diff --git a/.github/workflows/validator.yml b/.github/workflows/validator.yml index 4961e382e..790240e17 100644 --- a/.github/workflows/validator.yml +++ b/.github/workflows/validator.yml @@ -19,7 +19,7 @@ jobs: - name: Build static assets run: | - npm install + npm clean-install npm run dist - name: Cache dependencies diff --git a/.readthedocs.yaml b/.readthedocs.yaml index ab9a526de..3d03d73a4 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,7 +6,7 @@ build: python: "3.10" nodejs: "16" commands: - - npm install + - npm clean-install - npm run dist - pip install -r requirements.txt - inv preview diff --git a/README.rst b/README.rst index abde01ffc..71317fab8 100644 --- a/README.rst +++ b/README.rst @@ -36,7 +36,7 @@ if files under ``static-src/`` are modified. .. code-block:: bash - $ npm install + $ npm clean-install $ npm run build # use "npm run dist" for minified builds The static content appears in ``ethicalads-theme/static/``