mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-16 18:12:50 +00:00
[ACS-12322] Test build pass
This commit is contained in:
@@ -34,6 +34,13 @@ runs:
|
||||
username: ${{ inputs.username }}
|
||||
password: ${{ inputs.password }}
|
||||
|
||||
|
||||
- name: Configure private registry auth
|
||||
shell: bash
|
||||
run: pnpm config set "//npm.pkg.github.com/:_authToken" "${PACKAGE_AUTH_TOKEN}"
|
||||
env:
|
||||
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
|
||||
|
||||
- name: Install dependencies and build project
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
@@ -24,6 +24,12 @@ runs:
|
||||
branch_name: ${{ env.BRANCH_NAME }}
|
||||
dry-run: ${{ inputs.dry-run }}
|
||||
|
||||
- name: Configure private registry auth
|
||||
shell: bash
|
||||
run: pnpm config set "//npm.pkg.github.com/:_authToken" "${PACKAGE_AUTH_TOKEN}"
|
||||
env:
|
||||
PACKAGE_AUTH_TOKEN: ${{ inputs.github_token }}
|
||||
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
@@ -57,3 +57,7 @@ runs:
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Configure private registry auth
|
||||
shell: bash
|
||||
run: pnpm config set "//npm.pkg.github.com/:_authToken" "${PACKAGE_AUTH_TOKEN}"
|
||||
|
||||
@@ -18,6 +18,7 @@ jobs:
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
|
||||
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
|
||||
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
|
||||
|
||||
firefox:
|
||||
name: "Cron browser E2E run - firefox"
|
||||
@@ -32,6 +33,7 @@ jobs:
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
|
||||
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
|
||||
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
|
||||
|
||||
webkit:
|
||||
name: "Cron browser E2E run - webkit"
|
||||
@@ -46,6 +48,7 @@ jobs:
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
|
||||
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
|
||||
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
|
||||
|
||||
msedge:
|
||||
name: "Cron browser E2E run - msedge"
|
||||
@@ -60,6 +63,7 @@ jobs:
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
|
||||
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
|
||||
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
|
||||
|
||||
report-to-teams:
|
||||
name: "Aggregate results and notify Teams"
|
||||
|
||||
@@ -17,6 +17,8 @@ on:
|
||||
required: true
|
||||
QUAY_PASSWORD:
|
||||
required: true
|
||||
PACKAGE_AUTH_TOKEN:
|
||||
required: false
|
||||
|
||||
env:
|
||||
BASE_URL: http://localhost
|
||||
@@ -30,6 +32,7 @@ env:
|
||||
REPORT_PORTAL_TOKEN: ${{ secrets.REPORT_PORTAL_TOKEN }}
|
||||
MAXINSTANCES: 2
|
||||
RETRY_COUNT: 2
|
||||
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -33,6 +33,12 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Configure private registry auth
|
||||
shell: bash
|
||||
run: pnpm config set "//npm.pkg.github.com/:_authToken" "${PACKAGE_AUTH_TOKEN}"
|
||||
env:
|
||||
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
|
||||
|
||||
- uses: ./.github/actions/setup
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
@@ -113,6 +119,12 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
||||
- name: Configure private registry auth
|
||||
shell: bash
|
||||
run: pnpm config set "//npm.pkg.github.com/:_authToken" "${PACKAGE_AUTH_TOKEN}"
|
||||
env:
|
||||
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
|
||||
|
||||
- uses: ./.github/actions/before-install
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- name: upload npm logs
|
||||
@@ -141,6 +153,13 @@ jobs:
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Configure private registry auth
|
||||
shell: bash
|
||||
run: pnpm config set "//npm.pkg.github.com/:_authToken" "${PACKAGE_AUTH_TOKEN}"
|
||||
env:
|
||||
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
|
||||
|
||||
- uses: ./.github/actions/before-install
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- name: upload npm logs
|
||||
@@ -239,6 +258,12 @@ jobs:
|
||||
- name: Before install
|
||||
uses: ./.github/actions/before-install
|
||||
|
||||
- name: Configure private registry auth
|
||||
shell: bash
|
||||
run: pnpm config set "//npm.pkg.github.com/:_authToken" "${PACKAGE_AUTH_TOKEN}"
|
||||
env:
|
||||
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
|
||||
@@ -59,6 +59,11 @@ jobs:
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Configure private registry auth
|
||||
shell: bash
|
||||
run: pnpm config set "//npm.pkg.github.com/:_authToken" "${PACKAGE_AUTH_TOKEN}"
|
||||
env:
|
||||
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
|
||||
|
||||
- uses: ./.github/actions/setup
|
||||
- run: pnpm install --frozen-lockfile
|
||||
@@ -81,7 +86,11 @@ jobs:
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Configure private registry auth
|
||||
shell: bash
|
||||
run: pnpm config set "//npm.pkg.github.com/:_authToken" "${PACKAGE_AUTH_TOKEN}"
|
||||
env:
|
||||
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
|
||||
- uses: ./.github/actions/before-install
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- run: pnpm affected:test --browsers=ChromeHeadless --watch=false $TEST_OPTS --base=origin/develop
|
||||
|
||||
@@ -26,6 +26,7 @@ env:
|
||||
REPORT_PORTAL_TOKEN: ${{ secrets.REPORT_PORTAL_TOKEN }}
|
||||
MAXINSTANCES: 2
|
||||
RETRY_COUNT: 2
|
||||
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
|
||||
|
||||
jobs:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user