Skip to content

Commit

Permalink
ci: add force to npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jankapunkt committed Jan 4, 2024
1 parent a04b3f1 commit c081171
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_jsdoc.yml
Expand Up @@ -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

Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/test_app.yml
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/test_audit.yml
Expand Up @@ -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
Expand All @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/test_backend.yml
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit c081171

Please sign in to comment.