Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/actions/use-npmrc/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Use .npmrc'
description: 'Writes the given .npmrc content to ~/.npmrc'
inputs:
dot-npmrc:
description: 'Content of the .npmrc file'
required: true
runs:
using: 'composite'
steps:
- name: Write ~/.npmrc
shell: bash
env:
DOT_NPMRC: ${{ inputs.dot-npmrc }}
run: echo "$DOT_NPMRC" > ~/.npmrc
92 changes: 92 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
version: 2
updates:
# Default branch (master)
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
open-pull-requests-limit: 3
labels:
- "dependencies"
- "github-actions"
groups:
github-actions:
patterns:
- "*"

# Active release branches (release/25.2 → release/26.2)
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "release/25.2"
schedule:
interval: "weekly"
day: "tuesday"
open-pull-requests-limit: 3
labels:
- "dependencies"
- "github-actions"
groups:
github-actions:
patterns:
- "*"

- package-ecosystem: "github-actions"
directory: "/"
target-branch: "release/25.3"
schedule:
interval: "weekly"
day: "tuesday"
open-pull-requests-limit: 3
labels:
- "dependencies"
- "github-actions"
groups:
github-actions:
patterns:
- "*"

- package-ecosystem: "github-actions"
directory: "/"
target-branch: "release/25.4"
schedule:
interval: "weekly"
day: "tuesday"
open-pull-requests-limit: 3
labels:
- "dependencies"
- "github-actions"
groups:
github-actions:
patterns:
- "*"

- package-ecosystem: "github-actions"
directory: "/"
target-branch: "release/26.1"
schedule:
interval: "weekly"
day: "tuesday"
open-pull-requests-limit: 3
labels:
- "dependencies"
- "github-actions"
groups:
github-actions:
patterns:
- "*"

- package-ecosystem: "github-actions"
directory: "/"
target-branch: "release/26.2"
schedule:
interval: "weekly"
day: "tuesday"
open-pull-requests-limit: 3
labels:
- "dependencies"
- "github-actions"
groups:
github-actions:
patterns:
- "*"
6 changes: 3 additions & 3 deletions .github/workflows/fe-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
ram_size_kb=$(grep MemTotal /proc/meminfo | awk '{print $2}')
ram_size_gb=$(echo "scale=2; $ram_size_kb/1024/1024" | bc)
echo "Total RAM size: $ram_size_gb GB"
- uses: actions/checkout@v4
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ inputs.GHA_REF }}
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 18.19.1
- name: Cache Node Modules
id: npm-cache
uses: actions/cache@v4
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/fe-check-upmerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ jobs:
name: Run Upmerge Flow
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ inputs.GHA_REF }}
fetch-depth: 0

- uses: actions/setup-node@v3
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 18.19.1

- name: Cache Node Modules
id: npm-cache
uses: actions/cache@v4
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/fe-cleanup-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ jobs:
name: Cleanup Snapshot Artifacts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ inputs.GHA_REF }}
fetch-depth: 0

- uses: actions/setup-node@v3
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 18.19.1

- name: Cache Node Modules
id: npm-cache
uses: actions/cache@v4
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}

- name: Use .npmrc
uses: bduff9/use-npmrc@v1.1
uses: collaborationFactory/github-actions/.github/actions/use-npmrc@release/25.2
with:
dot-npmrc: ${{ secrets.DOT_NPMRC }}

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/fe-code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ jobs:
jobCount: 4
coverageEnabled: ${{ secrets.SONAR_CLOUD_TOKEN != '' }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0

- uses: actions/setup-node@v4
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 18.19.1
- name: Cache Node Modules
id: npm-cache
uses: actions/cache@v4
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -76,7 +76,7 @@ jobs:

- name: Upload Coverage Reports
if: ${{ env.coverageEnabled == 'true' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: coverage-${{ matrix.jobIndex }}
path: coverage/
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
fi

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0

Expand All @@ -139,7 +139,7 @@ jobs:
cat sonar-project.properties

- name: download coverage report
uses: actions/download-artifact@v4
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
path: ./coverage
pattern: coverage-*
Expand Down Expand Up @@ -177,6 +177,6 @@ jobs:
fi

- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v6
uses: SonarSource/sonarqube-scan-action@7006c4492b2e0ee0f816d36501671557c97f5995 # v8.1.0
env:
SONAR_TOKEN: ${{ secrets.SONAR_CLOUD_TOKEN }}
10 changes: 5 additions & 5 deletions .github/workflows/fe-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ jobs:
env:
jobCount: 4
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ inputs.GHA_REF }}
fetch-depth: 0

- uses: actions/setup-node@v3
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 18.19.1
- name: Cache Node Modules
id: npm-cache
uses: actions/cache@v4
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -57,15 +57,15 @@ jobs:
CYPRESS_INTERNAL_BROWSER_CONNECT_TIMEOUT: 300000

- name: Upload E2E Videos
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: dist-${{ matrix.target }}-${{ matrix.jobIndex }}-e2e-videos
path: |
dist/cypress/apps/**/videos/
retention-days: 3

- name: Upload A11Y Reports
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: dist-${{ matrix.target }}-${{ matrix.jobIndex }}-a11y-reports
path: |
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/fe-install-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,27 @@ on:
jobs:
install-deps:
runs-on: ubuntu-latest
concurrency:
group: fe-install-deps-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v4
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ inputs.GHA_REF }}
fetch-depth: 0

- uses: actions/setup-node@v3
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 18.19.1
- name: Cache Node Modules
id: npm-cache
uses: actions/cache@v4
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}

- name: Use .npmrc
uses: bduff9/use-npmrc@v1.1
uses: collaborationFactory/github-actions/.github/actions/use-npmrc@release/25.2
with:
dot-npmrc: ${{ secrets.DOT_NPMRC }}

Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/fe-licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,27 @@ on:
jobs:
check-licenses:
runs-on: ubuntu-latest
concurrency:
group: fe-licenses-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v4
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0

- uses: actions/setup-node@v3
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 18.19.1
- name: Cache Node Modules
id: npm-cache
uses: actions/cache@v4
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}

- name: Use .npmrc
uses: bduff9/use-npmrc@v1.1
uses: collaborationFactory/github-actions/.github/actions/use-npmrc@release/25.2
with:
dot-npmrc: ${{ secrets.DOT_NPMRC }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/fe-pr-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@ jobs:
remove-artifacts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- uses: actions/setup-node@v3
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 18.19.1
- name: Cache Node Modules
id: npm-cache
uses: actions/cache@v4
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}

- name: Use .npmrc
uses: bduff9/use-npmrc@v1.1
uses: collaborationFactory/github-actions/.github/actions/use-npmrc@release/25.2
with:
dot-npmrc: ${{ secrets.DOT_NPMRC }}

Expand Down
Loading