From ba9ef5982a4bece51686e1ba06ba1a584bc520f8 Mon Sep 17 00:00:00 2001 From: Stamen Stoychev Date: Fri, 24 Apr 2026 10:44:46 +0300 Subject: [PATCH] feat(ci): simplifying CI and updating actions Co-authored-by: Copilot --- .github/workflows/build-app-crm.yml | 19 ++++--------------- .github/workflows/build-app-lob.yml | 22 ++++------------------ .github/workflows/build-app.yml | 17 ++++------------- .github/workflows/cd-matrix.yml | 6 +++--- 4 files changed, 15 insertions(+), 49 deletions(-) diff --git a/.github/workflows/build-app-crm.yml b/.github/workflows/build-app-crm.yml index 37b7ba2ff..2bfd89874 100644 --- a/.github/workflows/build-app-crm.yml +++ b/.github/workflows/build-app-crm.yml @@ -5,13 +5,6 @@ name: App CRM CI # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch on: - push: - branches: [ master, vnext ] - paths: - - '**' - - '!src/**' - - '!live-editing/**' - - '!projects/app-lob/**' pull_request: branches: [ master, vnext ] paths: @@ -27,19 +20,15 @@ jobs: # The type of runner that the job will run on runs-on: ubuntu-latest - strategy: - matrix: - node-version: [20.x, 22.x] - # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + - name: Use Node.js 24 + uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: 24 cache: 'npm' - name: Npm add registry diff --git a/.github/workflows/build-app-lob.yml b/.github/workflows/build-app-lob.yml index 88a48baa4..699c333d3 100644 --- a/.github/workflows/build-app-lob.yml +++ b/.github/workflows/build-app-lob.yml @@ -5,16 +5,6 @@ name: App LOB CI # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch on: - push: - branches: [ master, vnext ] - paths: - - '**' - - '!src/**' - - '!live-editing/configs/**' - - 'live-editing/configs/app-dv-configs/**' - - '!live-editing/generators/**' - - 'live-editing/generators/AppDVConfigGenerators.ts' - - '!projects/app-crm/**' pull_request: branches: [ master, vnext ] paths: @@ -32,19 +22,15 @@ jobs: # The type of runner that the job will run on runs-on: ubuntu-latest - strategy: - matrix: - node-version: [20.x, 22.x] - # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + - name: Use Node.js 24 + uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: 24 cache: 'npm' - name: Npm add registry diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml index 0c9e88def..3c19b5984 100644 --- a/.github/workflows/build-app.yml +++ b/.github/workflows/build-app.yml @@ -8,11 +8,6 @@ permissions: # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch on: - push: - branches: [ master, vnext ] - paths: - - '**' - - '!projects/**' pull_request: branches: [ master, vnext ] paths: @@ -25,19 +20,15 @@ jobs: # The type of runner that the job will run on runs-on: ubuntu-latest - strategy: - matrix: - node-version: [20.x, 22.x] - # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + - name: Use Node.js 24 + uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: 24 cache: 'npm' - name: Npm add registry diff --git a/.github/workflows/cd-matrix.yml b/.github/workflows/cd-matrix.yml index e809ebeb5..4476fe640 100644 --- a/.github/workflows/cd-matrix.yml +++ b/.github/workflows/cd-matrix.yml @@ -50,16 +50,16 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ env.BRANCH_REF }} token: ${{ secrets.GITHUB_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: '22.x' + node-version: 24 - name: Replace with licensed angular-extras shell: pwsh