Skip to content

Commit

Permalink
try npm set cache
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse committed Feb 7, 2024
1 parent c51d52a commit 616964e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build_and_test_debug_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
cache-dependency-path: ./package-lock.json

- name: Install NPM Dependencies
run: npm ci
run: npm set cache .npm && npm ci

- name: Run Linter
run: npm run action lint
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
cache-dependency-path: ./package-lock.json

- name: Install NPM Dependencies
run: npm ci --prod --ignore-scripts
run: npm set cache .npm && npm ci --prod --ignore-scripts

- name: Install Go
uses: actions/setup-go@v4
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
cache-dependency-path: ./package-lock.json

- name: Install NPM Dependencies
run: npm ci --prod --ignore-scripts
run: npm set cache .npm && npm ci --prod --ignore-scripts

- name: Install Go
uses: actions/setup-go@v4
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
cache-dependency-path: ./package-lock.json

- name: Install NPM Dependencies
run: npm ci --prod --ignore-scripts
run: npm set cache .npm && npm ci --prod --ignore-scripts

- name: Install Go
uses: actions/setup-go@v4
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
cache-dependency-path: ./package-lock.json

- name: Install NPM Dependencies
run: npm ci --prod --ignore-scripts
run: npm set cache .npm && npm ci --prod --ignore-scripts

- name: Install Go
uses: actions/setup-go@v4
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
cache-dependency-path: ./package-lock.json

- name: Install NPM Dependencies
run: npm ci --prod --ignore-scripts
run: npm set cache .npm && npm ci --prod --ignore-scripts

- name: Install Go
uses: actions/setup-go@v4
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
cache-dependency-path: ./package-lock.json

- name: Install NPM Dependencies
run: npm ci --prod --ignore-scripts
run: npm set cache .npm && npm ci --prod --ignore-scripts

- name: Install Go
uses: actions/setup-go@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build_and_test_debug_manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
cache-dependency-path: ./server_manager/package.json

- name: Install NPM Dependencies
run: npm ci
run: npm set cache .npm && npm ci

- name: Lint
run: npm run lint
Expand All @@ -50,7 +50,7 @@ jobs:
cache-dependency-path: ./server_manager/package.json

- name: Install NPM Dependencies
run: npm ci
run: npm set cache .npm && npm ci

- name: Manager Web Test
run: npm run action server_manager/test
Expand All @@ -73,7 +73,7 @@ jobs:
cache-dependency-path: ./server_manager/package.json

- name: Install NPM Dependencies
run: npm ci --workspace=server_manager --prod --ignore-scripts
run: npm set cache .npm && npm ci --workspace=server_manager --prod --ignore-scripts

- name: Build Linux Manager
run: npm run action server_manager/electron_app/build linux
Expand All @@ -97,7 +97,7 @@ jobs:
cache-dependency-path: ./server_manager/package.json

- name: Install NPM Dependencies
run: npm ci --workspace=server_manager --prod --ignore-scripts
run: npm set cache .npm && npm ci --workspace=server_manager --prod --ignore-scripts

- name: Build Windows Manager
run: npm run action server_manager/electron_app/build windows
Expand All @@ -120,7 +120,7 @@ jobs:
cache-dependency-path: ./server_manager/package.json

- name: Install NPM Dependencies
run: npm ci --workspace=server_manager --prod --ignore-scripts
run: npm set cache .npm && npm ci --workspace=server_manager --prod --ignore-scripts

- name: Set XCode Version
run: sudo xcode-select -switch /Applications/Xcode_13.2.app
Expand Down

0 comments on commit 616964e

Please sign in to comment.