From c08117149050033f99135cffd6d599dfdef02e62 Mon Sep 17 00:00:00 2001 From: jankapunkt Date: Thu, 4 Jan 2024 16:51:30 +0100 Subject: [PATCH] ci: add force to npm ci --- .github/workflows/build_jsdoc.yml | 4 ++-- .github/workflows/test_app.yml | 2 +- .github/workflows/test_audit.yml | 4 ++-- .github/workflows/test_backend.yml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_jsdoc.yml b/.github/workflows/build_jsdoc.yml index 998d9bf..3dc62de 100644 --- a/.github/workflows/build_jsdoc.yml +++ b/.github/workflows/build_jsdoc.yml @@ -28,7 +28,7 @@ jobs: ${{ runner.os }}-node- - name: install node modules - run: cd app && npm ci + run: cd app && npm ci --force - name: run jsdoc run: cd app && npm run build:docs @@ -52,5 +52,5 @@ jobs: restore-keys: | ${{ runner.os }}-node- - - run: cd backend && npm ci + - run: cd backend && npm ci --force - run: cd backend && npm run build:docs diff --git a/.github/workflows/test_app.yml b/.github/workflows/test_app.yml index 22cb51c..4cf26cc 100644 --- a/.github/workflows/test_app.yml +++ b/.github/workflows/test_app.yml @@ -30,7 +30,7 @@ jobs: ${{ runner.os }}-node- - name: install node modules - run: cd app && npm ci + run: cd app && npm ci --force - name: run jest tests run: cd app && npm test diff --git a/.github/workflows/test_audit.yml b/.github/workflows/test_audit.yml index 64dc429..d502ad7 100644 --- a/.github/workflows/test_audit.yml +++ b/.github/workflows/test_audit.yml @@ -33,7 +33,7 @@ jobs: restore-keys: | ${{ runner.os }}-node- - - run: cd backend && npm ci + - run: cd backend && npm ci --force - run: cd backend && npm audit --production app: runs-on: ubuntu-latest @@ -53,6 +53,6 @@ jobs: ${{ runner.os }}-node- - name: open app folder and install node modules - run: cd app && npm ci + run: cd app && npm ci --force - name: open app folder and check for vulnerabilities run: cd app && npm audit --production diff --git a/.github/workflows/test_backend.yml b/.github/workflows/test_backend.yml index 16b69cb..37f88ef 100644 --- a/.github/workflows/test_backend.yml +++ b/.github/workflows/test_backend.yml @@ -28,7 +28,7 @@ jobs: restore-keys: | ${{ runner.os }}-node- - - run: cd backend && npm ci + - run: cd backend && npm ci --force - run: cd backend && npm run lint tests: @@ -89,7 +89,7 @@ jobs: meteor-release: '2.7.3' - name: Install NPM Dependencies - run: cd backend && meteor npm ci + run: cd backend && meteor npm ci --force - name: Run Tests run: cd backend && meteor npm run test