Skip to content

Commit

Permalink
No more node cache at all
Browse files Browse the repository at this point in the history
  • Loading branch information
jolelievre committed Sep 23, 2023
1 parent 3404d2e commit 98c93cb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 23 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/build-shop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,26 +124,13 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node_version }}
cache: 'npm'
cache-dependency-path: |
${{ env.PS_DIR }}/admin-dev/themes/new-theme/package-lock.json
${{ env.PS_DIR }}/admin-dev/themes/default/package-lock.json
${{ env.PS_DIR }}/themes/classic/_dev/package-lock.json
${{ env.PS_DIR }}/themes/package-lock.json
- name: Build assets in parallel and in background
run: |
(pushd ${{ env.PS_DIR }}/admin-dev/themes/new-theme; touch buildLock; npm ci; npm run build; rm buildLock; popd) &
(pushd ${{ env.PS_DIR }}/admin-dev/themes/default; touch buildLock; npm ci; npm run build; rm buildLock; popd) &
(pushd ${{ env.PS_DIR }}/themes/classic/_dev; touch buildLock; npm ci; npm run build; rm buildLock; popd) &
(pushd ${{ env.PS_DIR }}/themes/; touch buildLock; npm ci; npm run build; rm buildLock; popd) &
shell: bash
- name: Cache tests UI dependencies for following jobs
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node_version }}
cache: 'npm'
cache-dependency-path: |
${{ env.PS_DIR }}/tests/UI/package-lock.json

# Certificate
- name: Generate a certificate
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/test-sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node_version }}
cache: 'npm'
cache-dependency-path: |
${{ env.PS_DIR }}/tests/UI/package-lock.json
${{ env.PS_DIR }}/admin-dev/themes/new-theme/package-lock.json
${{ env.PS_DIR }}/admin-dev/themes/default/package-lock.json
${{ env.PS_DIR }}/themes/classic/_dev/package-lock.json
${{ env.PS_DIR }}/themes/package-lock.json
- name: Build assets in parallel and in background
run: |
(pushd ${{ env.PS_DIR }}/tests/UI; touch buildLock; npm ci; npm run build; rm buildLock; popd) &
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/test-with-prebuilt-shop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node_version }}
cache: 'npm'
cache-dependency-path: |
${{ env.PS_DIR }}/tests/UI/package-lock.json
- name: Build test dependencies
working-directory: ${{ env.PS_DIR }}/tests/UI
run: |
Expand Down

0 comments on commit 98c93cb

Please sign in to comment.