[ACS-12322] Test build pass

This commit is contained in:
Shivangi Shree
2026-09-11 16:34:01 +05:30
parent be41c37290
commit bb5235b06e
9 changed files with 61 additions and 3 deletions
+7
View File
@@ -34,6 +34,13 @@ runs:
username: ${{ inputs.username }} username: ${{ inputs.username }}
password: ${{ inputs.password }} 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 - name: Install dependencies and build project
shell: bash shell: bash
run: | run: |
+6
View File
@@ -24,6 +24,12 @@ runs:
branch_name: ${{ env.BRANCH_NAME }} branch_name: ${{ env.BRANCH_NAME }}
dry-run: ${{ inputs.dry-run }} 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 - name: Install dependencies
shell: bash shell: bash
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile
+4
View File
@@ -57,3 +57,7 @@ runs:
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
cache: 'pnpm' cache: 'pnpm'
- name: Configure private registry auth
shell: bash
run: pnpm config set "//npm.pkg.github.com/:_authToken" "${PACKAGE_AUTH_TOKEN}"
+4
View File
@@ -18,6 +18,7 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }} QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
firefox: firefox:
name: "Cron browser E2E run - firefox" name: "Cron browser E2E run - firefox"
@@ -32,6 +33,7 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }} QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
webkit: webkit:
name: "Cron browser E2E run - webkit" name: "Cron browser E2E run - webkit"
@@ -46,6 +48,7 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }} QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
msedge: msedge:
name: "Cron browser E2E run - msedge" name: "Cron browser E2E run - msedge"
@@ -60,6 +63,7 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }} QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
report-to-teams: report-to-teams:
name: "Aggregate results and notify Teams" name: "Aggregate results and notify Teams"
@@ -17,6 +17,8 @@ on:
required: true required: true
QUAY_PASSWORD: QUAY_PASSWORD:
required: true required: true
PACKAGE_AUTH_TOKEN:
required: false
env: env:
BASE_URL: http://localhost BASE_URL: http://localhost
@@ -30,6 +32,7 @@ env:
REPORT_PORTAL_TOKEN: ${{ secrets.REPORT_PORTAL_TOKEN }} REPORT_PORTAL_TOKEN: ${{ secrets.REPORT_PORTAL_TOKEN }}
MAXINSTANCES: 2 MAXINSTANCES: 2
RETRY_COUNT: 2 RETRY_COUNT: 2
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
jobs: jobs:
build: build:
+25
View File
@@ -33,6 +33,12 @@ jobs:
with: with:
fetch-depth: 0 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 - uses: ./.github/actions/setup
- run: pnpm install --frozen-lockfile - run: pnpm install --frozen-lockfile
@@ -113,6 +119,12 @@ jobs:
with: with:
fetch-depth: 2 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 - uses: ./.github/actions/before-install
- run: pnpm install --frozen-lockfile - run: pnpm install --frozen-lockfile
- name: upload npm logs - name: upload npm logs
@@ -141,6 +153,13 @@ jobs:
uses: actions/checkout@v7 uses: actions/checkout@v7
with: with:
fetch-depth: 0 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 - uses: ./.github/actions/before-install
- run: pnpm install --frozen-lockfile - run: pnpm install --frozen-lockfile
- name: upload npm logs - name: upload npm logs
@@ -239,6 +258,12 @@ jobs:
- name: Before install - name: Before install
uses: ./.github/actions/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 - name: Install dependencies
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile
+10 -1
View File
@@ -59,6 +59,11 @@ jobs:
uses: actions/checkout@v7 uses: actions/checkout@v7
with: with:
fetch-depth: 0 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 - uses: ./.github/actions/setup
- run: pnpm install --frozen-lockfile - run: pnpm install --frozen-lockfile
@@ -81,7 +86,11 @@ jobs:
uses: actions/checkout@v7 uses: actions/checkout@v7
with: with:
fetch-depth: 0 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 - uses: ./.github/actions/before-install
- run: pnpm install --frozen-lockfile - run: pnpm install --frozen-lockfile
- run: pnpm affected:test --browsers=ChromeHeadless --watch=false $TEST_OPTS --base=origin/develop - run: pnpm affected:test --browsers=ChromeHeadless --watch=false $TEST_OPTS --base=origin/develop
+1
View File
@@ -26,6 +26,7 @@ env:
REPORT_PORTAL_TOKEN: ${{ secrets.REPORT_PORTAL_TOKEN }} REPORT_PORTAL_TOKEN: ${{ secrets.REPORT_PORTAL_TOKEN }}
MAXINSTANCES: 2 MAXINSTANCES: 2
RETRY_COUNT: 2 RETRY_COUNT: 2
PACKAGE_AUTH_TOKEN: ${{ secrets.PACKAGE_AUTH_TOKEN }}
jobs: jobs:
-1
View File
@@ -5,4 +5,3 @@ audit-level=high
save-exact=true save-exact=true
@alfresco:registry=https://npm.pkg.github.com/ @alfresco:registry=https://npm.pkg.github.com/
@jsr:registry=https://npm.jsr.io/ @jsr:registry=https://npm.jsr.io/
//npm.pkg.github.com/:_authToken=${PACKAGE_AUTH_TOKEN}