Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/dev-dependencies-73d…
Browse files Browse the repository at this point in the history
…83c8e52
  • Loading branch information
rvalitov authored Dec 17, 2024
2 parents 6bca037 + dbd851e commit 4555325
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/codacy-coverage-reporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ defaults:
run:
shell: bash

env:
NODE_VERSION: 23.x

jobs:
# Build job
build:
Expand All @@ -23,10 +26,10 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
- name: Use Node.js 23.x
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: 23.x
node-version: ${{ env.NODE_VERSION }}
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Run test coverage
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,21 @@ defaults:
run:
shell: bash

env:
NODE_VERSION: 23.x

jobs:
base_branch_cov:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}
- name: Use Node.js 23.x
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: 23.x
node-version: ${{ env.NODE_VERSION }}

- name: Install dependencies
run: npm ci
Expand All @@ -39,13 +43,14 @@ jobs:

checks:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
needs: base_branch_cov
steps:
- uses: actions/checkout@v4
- name: Use Node.js 23.x
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: 23.x
node-version: ${{ env.NODE_VERSION }}

- name: Download code coverage report from base branch
uses: actions/download-artifact@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
# Make a Lighthouse Report
Lighthouse:
needs: Build
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest

permissions:
Expand Down Expand Up @@ -135,6 +136,7 @@ jobs:
# Make screenshots of the resulting page
Screenshots:
needs: Build
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest

permissions:
Expand Down

0 comments on commit 4555325

Please sign in to comment.