This commit is contained in:
Marco Carrozzo
2023-01-26 11:46:02 +01:00
parent ded53d7b06
commit aefb754cd9
4 changed files with 46 additions and 46 deletions
+9 -9
View File
@@ -127,7 +127,7 @@ jobs:
run: npm ci
- run: nx run cli:bundle
- run: nx run testing:bundle
- uses: ./.github/actions/upload-cache-and-artifacts
- uses: ./.github/actions/upload-job-artifacts
with:
packages: 'dist node_modules'
@@ -159,7 +159,7 @@ jobs:
use-gh-nx-cache: false
use-gh-node-modules-cache: false
cache-key-suffix: unit-tests-${{ matrix.unit-tests.name }}
- uses: ./.github/actions/download-cache-and-artifacts
- uses: ./.github/actions/download-job-artifacts
with:
packages: 'node_modules'
persistent-packages: 'nxcache'
@@ -167,7 +167,7 @@ jobs:
- name: Run unit tests
run: |
/usr/bin/xvfb-run --auto-servernum nx affected:test $NX_CALCULATION_FLAGS --exclude=${{ matrix.unit-tests.exclude }}
- uses: ./.github/actions/upload-cache-and-artifacts
- uses: ./.github/actions/upload-job-artifacts
with:
persistent-packages: 'nxcache'
packages-key-suffix: ${{ matrix.unit-tests.name }}
@@ -188,12 +188,12 @@ jobs:
use-gh-nx-cache: false
use-gh-node-modules-cache: false
cache-key-suffix: ${{ github.ref_name }}-lint
- uses: ./.github/actions/download-cache-and-artifacts
- uses: ./.github/actions/download-job-artifacts
with:
packages: 'node_modules'
persistent-packages: 'nxcache'
- run: nx affected --target=lint $NX_CALCULATION_FLAGS
- uses: ./.github/actions/upload-cache-and-artifacts
- uses: ./.github/actions/upload-job-artifacts
with:
persistent-packages: 'nxcache'
packages-key-suffix: ${{ github.ref_name }}-lint
@@ -214,7 +214,7 @@ jobs:
use-gh-nx-cache: false
use-gh-node-modules-cache: false
cache-key-suffix: build-libs
- uses: ./.github/actions/download-cache-and-artifacts
- uses: ./.github/actions/download-job-artifacts
with:
packages: 'node_modules'
persistent-packages: 'nxcache'
@@ -223,7 +223,7 @@ jobs:
- run: nx affected:build $NX_CALCULATION_FLAGS --prod
- run: nx build demoshell --configuration production
- run: nx affected --target=build-storybook $NX_CALCULATION_FLAGS --configuration ci
- uses: ./.github/actions/upload-cache-and-artifacts
- uses: ./.github/actions/upload-job-artifacts
with:
packages: 'dist node_modules'
persistent-packages: 'nxcache'
@@ -243,7 +243,7 @@ jobs:
with:
use-gh-nx-cache: false
use-gh-node-modules-cache: false
- uses: ./.github/actions/download-cache-and-artifacts
- uses: ./.github/actions/download-job-artifacts
with:
packages: 'dist node_modules'
- name: Process Cloud Storybook Playwright
@@ -383,7 +383,7 @@ jobs:
with:
use-gh-nx-cache: false
use-gh-node-modules-cache: false
- uses: ./.github/actions/download-cache-and-artifacts
- uses: ./.github/actions/download-job-artifacts
with:
packages: 'dist node_modules'
- name: setup chrome
+4 -4
View File
@@ -87,7 +87,7 @@ jobs:
npm ci
nx run cli:bundle
nx run testing:bundle
- uses: ./.github/actions/upload-cache-and-artifacts
- uses: ./.github/actions/upload-job-artifacts
with:
packages: 'dist nxcache node_modules'
@@ -110,7 +110,7 @@ jobs:
with:
use-gh-nx-cache: false
use-gh-node-modules-cache: false
- uses: ./.github/actions/download-cache-and-artifacts
- uses: ./.github/actions/download-job-artifacts
with:
packages: 'dist nxcache node_modules'
- name: release Demoshell docker
@@ -139,7 +139,7 @@ jobs:
use-gh-nx-cache: false
use-gh-node-modules-cache: false
act: ${{ inputs.dry-run-release }}
- uses: ./.github/actions/download-cache-and-artifacts
- uses: ./.github/actions/download-job-artifacts
with:
packages: 'dist nxcache node_modules'
- name: release Storybook docker
@@ -166,7 +166,7 @@ jobs:
uses: ./.github/actions/enable-dryrun
with:
dry-run-flag: ${{ inputs.dry-run-release }}
- uses: ./.github/actions/download-cache-and-artifacts
- uses: ./.github/actions/download-job-artifacts
with:
packages: 'dist nxcache node_modules'
- name: build libraries