mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-12322] Update docs
This commit is contained in:
@@ -6,4 +6,4 @@ runs:
|
||||
steps:
|
||||
- name: Check content UP
|
||||
shell: bash
|
||||
run: pnpm run ci:check-env || exit 1
|
||||
run: pnpm ci:check-env || exit 1
|
||||
|
||||
@@ -38,7 +38,7 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm run build.release
|
||||
pnpm build.release
|
||||
|
||||
- name: Build and push multi-platform image
|
||||
uses: docker/build-push-action@v7
|
||||
|
||||
@@ -28,7 +28,7 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm run ci:build:many
|
||||
pnpm ci:build:many
|
||||
|
||||
- uses: actions/setup-node@v7
|
||||
name: setup GH registry
|
||||
|
||||
@@ -53,7 +53,7 @@ runs:
|
||||
|
||||
for attempt in $(seq 1 "${SUITE_ATTEMPTS:-1}"); do
|
||||
echo "Running playwright tests with options $OPTIONS on browser ${PLAYWRIGHT_BROWSER} (suite attempt $attempt/${SUITE_ATTEMPTS:-1})"
|
||||
if E2E_TARGET=$OPTIONS pnpm run ci:e2e; then
|
||||
if E2E_TARGET=$OPTIONS pnpm ci:e2e; then
|
||||
exit 0
|
||||
fi
|
||||
if [ "$attempt" -lt "${SUITE_ATTEMPTS:-1}" ]; then
|
||||
|
||||
@@ -45,15 +45,15 @@ jobs:
|
||||
fetch-depth: 2
|
||||
|
||||
- uses: ./.github/actions/before-install
|
||||
- run: npm ci
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- name: upload npm logs
|
||||
uses: actions/upload-artifact@v7
|
||||
if: failure()
|
||||
with:
|
||||
name: npm-logs
|
||||
path: /home/runner/.npm/_logs/
|
||||
- run: npm run ci:build -- aca-playwright-shared
|
||||
- run: npm run build -- $BUILD_OPTS
|
||||
- run: pnpm ci:build -- aca-playwright-shared
|
||||
- run: pnpm build -- $BUILD_OPTS
|
||||
|
||||
- name: dist cache
|
||||
if: ${{ success() }}
|
||||
@@ -146,7 +146,7 @@ jobs:
|
||||
uses: ./.github/actions/before-install
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Restore dist cache
|
||||
uses: actions/cache/restore@v6
|
||||
@@ -160,15 +160,15 @@ jobs:
|
||||
|
||||
- name: Check Search Indexing
|
||||
continue-on-error: true
|
||||
run: npm run ci:check-search-indexing
|
||||
run: pnpm ci:check-search-indexing
|
||||
env:
|
||||
ADMIN_PASSWORD_SCRIPT: ${{ env.ADMIN_PASSWORD }}
|
||||
|
||||
- name: Before playwright
|
||||
run: npm run ci:playwright:install:all
|
||||
run: pnpm ci:playwright:install:all
|
||||
|
||||
- name: Install Playwright system dependencies
|
||||
run: npx playwright install-deps
|
||||
run: pnpm exec playwright install-deps
|
||||
|
||||
- name: Run e2e playwright
|
||||
uses: ./.github/actions/run-e2e-playwright
|
||||
|
||||
@@ -45,11 +45,11 @@ jobs:
|
||||
|
||||
- name: lint affected
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
run: pnpm run affected:lint -- --base=origin/develop
|
||||
run: pnpm affected:lint -- --base=origin/develop
|
||||
- name: lint all
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
run: pnpm run ci:lint
|
||||
- run: pnpm run stylelint
|
||||
run: pnpm ci:lint
|
||||
- run: pnpm stylelint
|
||||
|
||||
detect-e2e-only-changes:
|
||||
name: 'Validate / Detect E2E Only Changes'
|
||||
@@ -96,8 +96,8 @@ jobs:
|
||||
with:
|
||||
name: npm-logs
|
||||
path: /home/runner/.npm/_logs/
|
||||
- run: pnpm run ci:build -- aca-playwright-shared
|
||||
- run: pnpm run build -- $BUILD_OPTS
|
||||
- run: pnpm ci:build -- aca-playwright-shared
|
||||
- run: pnpm build -- $BUILD_OPTS
|
||||
|
||||
- name: dist cache
|
||||
if: ${{ success() }}
|
||||
@@ -127,11 +127,11 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
run: pnpm run affected:test -- --browsers=ChromeHeadless --watch=false $TEST_OPTS --base=origin/develop
|
||||
run: pnpm affected:test -- --browsers=ChromeHeadless --watch=false $TEST_OPTS --base=origin/develop
|
||||
|
||||
- name: Test all
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
run: pnpm run ci:test -- $TEST_OPTS
|
||||
run: pnpm ci:test -- $TEST_OPTS
|
||||
|
||||
e2es-playwright:
|
||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip-e2e') }}
|
||||
@@ -233,12 +233,12 @@ jobs:
|
||||
|
||||
- name: Check Search Indexing
|
||||
continue-on-error: true
|
||||
run: pnpm run ci:check-search-indexing
|
||||
run: pnpm ci:check-search-indexing
|
||||
env:
|
||||
ADMIN_PASSWORD_SCRIPT: ${{ env.ADMIN_PASSWORD }}
|
||||
|
||||
- name: Before playwright
|
||||
run: pnpm run ci:playwright:install
|
||||
run: pnpm ci:playwright:install
|
||||
|
||||
- name: Run e2e playwright
|
||||
uses: ./.github/actions/run-e2e-playwright
|
||||
|
||||
@@ -62,8 +62,8 @@ jobs:
|
||||
|
||||
- uses: ./.github/actions/setup
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- run: pnpm run affected:lint -- --base=origin/develop
|
||||
- run: pnpm run stylelint
|
||||
- run: pnpm affected:lint -- --base=origin/develop
|
||||
- run: pnpm stylelint
|
||||
|
||||
unit-tests:
|
||||
if: github.event_name == 'workflow_dispatch'
|
||||
@@ -84,7 +84,7 @@ jobs:
|
||||
|
||||
- uses: ./.github/actions/before-install
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- run: pnpm run affected:test -- --browsers=ChromeHeadless --watch=false $TEST_OPTS --base=origin/develop
|
||||
- run: pnpm affected:test -- --browsers=ChromeHeadless --watch=false $TEST_OPTS --base=origin/develop
|
||||
|
||||
publish-docker-registry:
|
||||
if: ${{ always() }}
|
||||
|
||||
@@ -47,8 +47,8 @@ jobs:
|
||||
cache: 'pnpm'
|
||||
- uses: ./.github/actions/before-install
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- run: pnpm run ci:build -- aca-playwright-shared
|
||||
- run: pnpm run build -- $BUILD_OPTS
|
||||
- run: pnpm ci:build -- aca-playwright-shared
|
||||
- run: pnpm build -- $BUILD_OPTS
|
||||
|
||||
- name: dist cache
|
||||
if: ${{ success() }}
|
||||
@@ -134,7 +134,7 @@ jobs:
|
||||
uses: ./.github/actions/before-e2e
|
||||
|
||||
- name: Before playwright
|
||||
run: pnpm run ci:playwright:install
|
||||
run: pnpm ci:playwright:install
|
||||
|
||||
- uses: ./.github/actions/run-e2e-playwright
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user