Skip to content

Commit

Permalink
Merge branch 'release/v1.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
musicEnfanthen committed Dec 20, 2024
2 parents ae2dfb2 + 8c7ee24 commit 4348fa4
Show file tree
Hide file tree
Showing 387 changed files with 85,760 additions and 41,548 deletions.
12 changes: 0 additions & 12 deletions .eslintignore

This file was deleted.

227 changes: 0 additions & 227 deletions .eslintrc.json

This file was deleted.

26 changes: 16 additions & 10 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,32 @@ coverage:

status:
project:
default: off
default: false
app:
flags: app
flags:
- app
home:
target: 99%
flags: home
flags:
- home
edition:
target: 70%
flags: edition
flags:
- edition
search:
target: 70%
flags: search
flags:
- search
structure:
target: 99%
flags: structure
flags:
- structure
contact:
target: 99%
flags: contact
patch: yes
changes: no
flags:
- contact
patch: true
changes: false

flags:
app:
Expand All @@ -53,4 +59,4 @@ flags:
comment:
layout: 'reach, diff, flags, files, footer'
behavior: default
require_changes: no
require_changes: false
36 changes: 18 additions & 18 deletions .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [18.19, 20.13, 22.x]
node-version: [20.13, 22.11, 23.x]

outputs:
sha: ${{ steps.get-sha.outputs.SHA }}

steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit

Expand Down Expand Up @@ -71,24 +71,24 @@ jobs:

- name: yarn install dependencies
run: |
yarn install --immutable
yarn install --immutable
- name: Run CI tests with coverage
run: |
yarn run test:ci
- name: Upload code coverage
if: matrix.node-version == 20.13 # upload coverage report for current node version only
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
if: matrix.node-version == 22.11 # upload coverage report for current node version only
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5.1.2
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests
env_vars: ${{ matrix.os }}, ${{ matrix.node-version }}
env_vars: ${{ matrix.os }},${{ matrix.node-version }}

- name: Perform SonarCloud Analysis
if: matrix.node-version == 20.13 && github.event_name != 'pull_request' && github.repository_owner == env.MAIN_REPO_OWNER # perform SonarCloud analysis only for current node version and not with pull requests or forks(token issue)
uses: SonarSource/sonarcloud-github-action@383f7e52eae3ab0510c3cb0e7d9d150bbaeab838 # v3.1.0
- name: Perform SonarQube scan
if: matrix.node-version == 22.11 && github.event_name != 'pull_request' && github.repository_owner == env.MAIN_REPO_OWNER # perform SonarQube scan only for current node version and not with pull requests or forks(token issue)
uses: SonarSource/sonarqube-scan-action@bfd4e558cda28cda6b5defafb9232d191be8c203 # v4.2.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand All @@ -108,8 +108,8 @@ jobs:
- name: Upload build artifacts (main && develop)
# upload build artifacts for current node version and main or develop branch only
if: matrix.node-version == 20.13 && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop')
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
if: matrix.node-version == 22.11 && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop')
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: dist
path: ${{ github.workspace }}/${{ env.DIST_DIR }}
Expand All @@ -132,11 +132,11 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [20.13]
node-version: [22.11]

steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit

Expand Down Expand Up @@ -204,11 +204,11 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [20.13]
node-version: [22.11]

steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit

Expand Down Expand Up @@ -245,10 +245,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [20.13]
node-version: [22.11]
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit

Expand All @@ -258,7 +258,7 @@ jobs:
- name: Create Release
id: create_release
if: ${{ success() && startsWith(github.ref, 'refs/tags/') }}
uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0
uses: softprops/action-gh-release@7b4da11513bf3f43f9999e90eabced41ab8bb048 # v2.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG_VERSION: ${{ steps.get_version.outputs.VERSION }}
Expand Down
Loading

0 comments on commit 4348fa4

Please sign in to comment.