reworking on cache

This commit is contained in:
Marco Carrozzo
2023-01-19 12:56:56 +01:00
parent c26ce3b690
commit 38c468e9c1
+4 -4
View File
@@ -156,12 +156,12 @@ jobs:
fetch-depth: 0 # Fetch all history for all tags and branches fetch-depth: 0 # Fetch all history for all tags and branches
- uses: ./.github/actions/setup - uses: ./.github/actions/setup
with: with:
enable-global-nx-cache: false enable-global-nx-cache: true
enable-global-node-modules-cache: false enable-global-node-modules-cache: false
cache-key-suffix: unit-tests cache-key-suffix: unit-tests
- uses: ./.github/actions/download-cache-and-artifacts # - uses: ./.github/actions/download-cache-and-artifacts
with: # with:
packages: 'dist nxcache node_modules' # packages: 'dist node_modules'
- name: Run unit tests - name: Run unit tests
run: | run: |
/usr/bin/xvfb-run --auto-servernum nx affected:test $NX_CALCULATION_FLAGS --exclude=${{ matrix.unit-tests.exclude }} /usr/bin/xvfb-run --auto-servernum nx affected:test $NX_CALCULATION_FLAGS --exclude=${{ matrix.unit-tests.exclude }}