Skip to content

Commit

Permalink
Run clean-install in CI type envs (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher authored Mar 28, 2024
1 parent eeb491c commit 75f94bc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Build static assets
run: |
npm install
npm clean-install
npm run dist
- name: Cache dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- name: Build static assets
run: |
npm install
npm clean-install
npm run dist
- name: Cache dependencies
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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/``
Expand Down

0 comments on commit 75f94bc

Please sign in to comment.