mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[AAE-1274] CI opt - Build only core/content/process storybook (#8139)
* Build only core/content/process storybook * Use a target and run only if affected * Do not run any storybook e2e
This commit is contained in:
parent
34e5508076
commit
f654fdf008
4
.github/workflows/pull-request.yml
vendored
4
.github/workflows/pull-request.yml
vendored
@ -147,7 +147,7 @@ jobs:
|
|||||||
- uses: ./.github/actions/download-cache-and-artifacts
|
- uses: ./.github/actions/download-cache-and-artifacts
|
||||||
- run: nx affected:build $NX_CALCULATION_FLAGS --prod
|
- run: nx affected:build $NX_CALCULATION_FLAGS --prod
|
||||||
- run: nx build demoshell --configuration production
|
- run: nx build demoshell --configuration production
|
||||||
- run: nx run stories:build-storybook --configuration ci
|
- run: nx affected --target=build-storybook $NX_CALCULATION_FLAGS --configuration ci
|
||||||
- uses: ./.github/actions/upload-cache-and-artifacts
|
- uses: ./.github/actions/upload-cache-and-artifacts
|
||||||
|
|
||||||
e2e-storybook:
|
e2e-storybook:
|
||||||
@ -166,7 +166,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
npx playwright install chromium
|
npx playwright install chromium
|
||||||
sudo sysctl -w fs.inotify.max_user_watches=524288
|
sudo sysctl -w fs.inotify.max_user_watches=524288
|
||||||
npx playwright test --config='e2e-playwright/playwright.config.ts' || exit 1
|
npx nx affected --target=e2e-playwright $NX_CALCULATION_FLAGS || exit 1
|
||||||
- uses: ./.github/actions/upload-cache-and-artifacts
|
- uses: ./.github/actions/upload-cache-and-artifacts
|
||||||
|
|
||||||
e2e:
|
e2e:
|
||||||
|
11
angular.json
11
angular.json
@ -678,6 +678,17 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"e2e-playwright": {
|
||||||
|
"executor": "nx:run-commands",
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "$(npm bin)/playwright test --config='e2e-playwright/playwright.config.ts'"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"spellcheck": {
|
"spellcheck": {
|
||||||
"executor": "nx:run-commands",
|
"executor": "nx:run-commands",
|
||||||
"options": {
|
"options": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user