mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
bring bundle back to fix e2e [ci:force]
This commit is contained in:
committed by
VitoAlbano
parent
9a6ab678f9
commit
f2e916c940
8
.github/actions/e2e/action.yml
vendored
8
.github/actions/e2e/action.yml
vendored
@@ -99,7 +99,7 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
echo "running: check EXTERNAL-CS is UP"
|
echo "running: check EXTERNAL-CS is UP"
|
||||||
set -u;
|
set -u;
|
||||||
./dist/libs/cli/bin/adf-cli \
|
./node_modules/@alfresco/adf-cli/bin/adf-cli \
|
||||||
check-cs-env \
|
check-cs-env \
|
||||||
--host "$EXTERNAL_ACS_HOST" \
|
--host "$EXTERNAL_ACS_HOST" \
|
||||||
-u "$E2E_USERNAME" \
|
-u "$E2E_USERNAME" \
|
||||||
@@ -111,7 +111,7 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
echo "Running: Check CS is UP"
|
echo "Running: Check CS is UP"
|
||||||
set -u;
|
set -u;
|
||||||
./dist/libs/cli/bin/adf-cli \
|
./node_modules/@alfresco/adf-cli/bin/adf-cli \
|
||||||
check-cs-env \
|
check-cs-env \
|
||||||
--host "$E2E_HOST" \
|
--host "$E2E_HOST" \
|
||||||
-u "$E2E_USERNAME" \
|
-u "$E2E_USERNAME" \
|
||||||
@@ -123,7 +123,7 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
echo "Running: check PS is UP"
|
echo "Running: check PS is UP"
|
||||||
set -u;
|
set -u;
|
||||||
./dist/libs/cli/bin/adf-cli init-aps-env \
|
./node_modules/@alfresco/adf-cli/bin/adf-cli init-aps-env \
|
||||||
--host "$E2E_HOST" \
|
--host "$E2E_HOST" \
|
||||||
-u "$E2E_USERNAME" \
|
-u "$E2E_USERNAME" \
|
||||||
-p "$E2E_PASSWORD" \
|
-p "$E2E_PASSWORD" \
|
||||||
@@ -135,7 +135,7 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
echo "running: check PS-CLOUD is UP"
|
echo "running: check PS-CLOUD is UP"
|
||||||
set -u;
|
set -u;
|
||||||
./dist/libs/cli/bin/adf-cli init-aae-env \
|
./node_modules/@alfresco/adf-cli/bin/adf-cli init-aae-env \
|
||||||
--oauth "$E2E_IDENTITY_HOST_APA" \
|
--oauth "$E2E_IDENTITY_HOST_APA" \
|
||||||
--host "$E2E_HOST_APA" \
|
--host "$E2E_HOST_APA" \
|
||||||
--modelerUsername "$E2E_MODELER_USERNAME" \
|
--modelerUsername "$E2E_MODELER_USERNAME" \
|
||||||
|
6
.github/workflows/pull-request.yml
vendored
6
.github/workflows/pull-request.yml
vendored
@@ -205,9 +205,9 @@ jobs:
|
|||||||
- name: install
|
- name: install
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
npx nx run js-api:build
|
npx nx run js-api:bundle
|
||||||
npx nx run cli:build
|
npx nx run cli:bundle
|
||||||
npx nx run testing:build
|
npx nx run testing:bundle
|
||||||
- run: npx nx print-affected $NX_CALCULATION_FLAGS
|
- run: npx nx print-affected $NX_CALCULATION_FLAGS
|
||||||
- uses: ./.github/actions/upload-node-modules-and-artifacts
|
- uses: ./.github/actions/upload-node-modules-and-artifacts
|
||||||
|
|
||||||
|
6
.github/workflows/release-branch.yml
vendored
6
.github/workflows/release-branch.yml
vendored
@@ -97,9 +97,9 @@ jobs:
|
|||||||
- name: install
|
- name: install
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
npx nx run js-api:build
|
npx nx run js-api:bundle
|
||||||
npx nx run cli:build
|
npx nx run cli:bundle
|
||||||
npx nx run testing:build
|
npx nx run testing:bundle
|
||||||
- uses: ./.github/actions/upload-node-modules-and-artifacts
|
- uses: ./.github/actions/upload-node-modules-and-artifacts
|
||||||
|
|
||||||
release-npm:
|
release-npm:
|
||||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -102,9 +102,9 @@ jobs:
|
|||||||
- name: install
|
- name: install
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
npx nx run js-api:build
|
npx nx run js-api:bundle
|
||||||
npx nx run cli:build
|
npx nx run cli:bundle
|
||||||
npx nx run testing:build
|
npx nx run testing:bundle
|
||||||
- uses: ./.github/actions/upload-node-modules-and-artifacts
|
- uses: ./.github/actions/upload-node-modules-and-artifacts
|
||||||
|
|
||||||
release-demoshell:
|
release-demoshell:
|
||||||
|
@@ -41,6 +41,35 @@
|
|||||||
"lintFilePatterns": ["lib/js-api/**/*.ts"]
|
"lintFilePatterns": ["lib/js-api/**/*.ts"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"bundle": {
|
||||||
|
"executor": "nx:run-commands",
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "echo cli bundle created"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"dependsOn": [
|
||||||
|
"copyToNodeModules"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"copyToNodeModules": {
|
||||||
|
"executor": "nx:run-commands",
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "rm -rf ./node_modules/@alfresco/js-api/ && mkdir -p ./node_modules/@alfresco/js-api/ && cp -R ./dist/libs/js-api/* ./node_modules/@alfresco/js-api/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"dependsOn": [
|
||||||
|
{
|
||||||
|
"projects": "self",
|
||||||
|
"target": "build"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"test": {
|
"test": {
|
||||||
"executor": "nx:run-commands",
|
"executor": "nx:run-commands",
|
||||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||||
|
Reference in New Issue
Block a user