diff --git a/.github/workflows/web-build.yml b/.github/workflows/web-build.yml index 10cc95f7..3a1a4362 100644 --- a/.github/workflows/web-build.yml +++ b/.github/workflows/web-build.yml @@ -45,11 +45,11 @@ jobs: cache-dependency-path: 'webclient/package-lock.json' - name: Install dependencies - run: npm install + run: npm clean-install + + - name: Build app + run: npm run build - name: Test app run: npm run test - - - name: Build app - if: always() - run: npm run build + diff --git a/.github/workflows/web-lint.yml b/.github/workflows/web-lint.yml index 491bcf14..5c66eb3b 100644 --- a/.github/workflows/web-lint.yml +++ b/.github/workflows/web-lint.yml @@ -28,7 +28,7 @@ jobs: cache-dependency-path: 'webclient/package-lock.json' - name: Install ESLint - run: npm install --ignore-scripts + run: npm clean-install --ignore-scripts - name: Run ESLint run: npm run lint