Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
168ece4
fix/ICE-1010-mirror-clone include tags
hminaee-tc Aug 13, 2024
73f241f
chores/fix-sources cleanup
hminaee-tc Aug 13, 2024
b2ebd22
chores/fix-sources cleanup
hminaee-tc Aug 13, 2024
5f907d2
chores/fix-sources cleanup
hminaee-tc Aug 13, 2024
a068120
chores/fix-sources cleanup
hminaee-tc Aug 13, 2024
a0d4f4f
chores/fix-sources cleanup
hminaee-tc Aug 13, 2024
31b65c1
chores/fix-sources cleanup
hminaee-tc Aug 13, 2024
952b2bb
chores/fix-sources cleanup
hminaee-tc Aug 13, 2024
d5e6749
chores/update-dist: Build dist folders
hminaee-tc Aug 13, 2024
6af5c80
chores/fix-sources cleanup
hminaee-tc Aug 13, 2024
c91e19d
chores/update-dist: Build dist folders
hminaee-tc Aug 13, 2024
c703df5
fix/ICE-1010-improvemen
hminaee-tc Aug 14, 2024
5c00f22
fix/ICE-1010-mirror-clone precomit fix
hminaee-tc Aug 14, 2024
6d974b0
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
3484ef4
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
71e06df
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
bab1e56
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
465e7a2
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
0cba539
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
f8a430f
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
92dbaed
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
cdd2d5f
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
4e031a2
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
72966c3
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
80dd293
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
e7a213a
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
4068770
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
249a1b0
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
2a3dd03
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
81f396d
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
4d9ea26
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
e1dda76
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
5963f08
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
03be4f5
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
05df6c9
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
b3d0332
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
9827d87
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
dfa1bcb
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
01f2c92
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
2c496f2
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
3afc5eb
fix/ICE-1010-improvement unit tests
hminaee-tc Aug 14, 2024
aed155f
fix/ICE-1010-improvement deploy coverage
hminaee-tc Aug 14, 2024
8bc95b7
fix/ICE-1010-improvement deploy coverage
hminaee-tc Aug 14, 2024
89929f8
fix/ICE-1010-improvement deploy coverage
hminaee-tc Aug 14, 2024
189aad8
fix/ICE-1010-improvement deploy coverage
hminaee-tc Aug 14, 2024
71dd1b5
fix/ICE-1010-improvement deploy coverage
hminaee-tc Aug 14, 2024
ca495b5
fix/ICE-1010-improvement deploy coverage
hminaee-tc Aug 14, 2024
49ccf80
fix/ICE-1010-improvement deploy coverage
hminaee-tc Aug 14, 2024
d885b50
fix/ICE-1010-improvement deploy coverage
hminaee-tc Aug 14, 2024
1cb57ad
fix/ICE-1010-improvement deploy coverage
hminaee-tc Aug 14, 2024
a7e726f
fix/ICE-1010-improvement deploy coverage
hminaee-tc Aug 14, 2024
e7b8715
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
47ced5c
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
84e22eb
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
6b17ec1
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
36332ca
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
075cf41
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
a959d53
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
2c02249
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
a95d701
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
6997726
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
0f5f355
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
9e10ad3
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
2372d7b
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
ea718a5
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
1bbdc2a
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
0c02221
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
e9dcee3
fix/ICE-1010-improvement js docs gh pages
hminaee-tc Aug 14, 2024
7016641
fix/ICE-1010-improvement test
hminaee-tc Aug 15, 2024
eaf412e
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
0f85ab9
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
6214b0d
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
04d81a7
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
6967fd8
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
cfb16eb
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
96375c3
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
64d6f0a
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
e061ce6
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
f757b65
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
e955493
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
3a3bb23
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
6365175
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
53d0488
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
337db20
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
1d11971
fix/fix/ICE-1010-improvement audit
hminaee-tc Aug 15, 2024
39feaa8
fix/fix/ICE-1010-improvement remove audit
hminaee-tc Aug 15, 2024
ffc27c3
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
6daf088
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
809036e
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
fd62c19
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
ba9d9ce
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
44516e8
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
8253547
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
8ab616c
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
e0d2405
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
ff28187
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
c8d1c9e
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
48eefcd
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
ef9a739
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
347d03b
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
06c60b0
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
21c71bd
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
2cb9812
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
970d3ec
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
d29206c
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
c27b26f
fix/ICE-1010-improvement flexible branching
hminaee-tc Aug 15, 2024
f91d184
fix/ICE-1010-improvement flexible cleanup
hminaee-tc Aug 15, 2024
131b22a
fix/ICE-1010-improvement flexible cleanup
hminaee-tc Aug 15, 2024
4fa28b5
fix/ICE-1010-improvement flexible cleanup
hminaee-tc Aug 15, 2024
bda9abf
fix/ICE-1010-improvement flexible cleanup
hminaee-tc Aug 15, 2024
6679053
fix/ICE-1010-improvement flexible cleanup
hminaee-tc Aug 15, 2024
78d0420
fix/ICE-1010-improvement flexible cleanup
hminaee-tc Aug 15, 2024
317bfc6
fix/ICE-1010-improvement flexible cleanup
hminaee-tc Aug 15, 2024
4bb42d8
chores/clean-up
hminaee-tc Aug 18, 2024
1b46042
fix/ICE-1010-improvement merge with main
hminaee-tc Aug 18, 2024
209d934
chores/update-dist: Build dist folders
hminaee-tc Aug 18, 2024
b114d77
fix/ICE-1010-improvement: merge
hminaee-tc Sep 16, 2024
114f490
chores/update-dist: Build dist folders
hminaee-tc Sep 16, 2024
b5a04d9
fix/ICE-1010-improvement: merge
hminaee-tc Sep 16, 2024
3fb7c5a
fix/ICE-1010-improvement: precommit fix
hminaee-tc Sep 16, 2024
273e0e8
chores/update-dist: Build dist folders
hminaee-tc Sep 16, 2024
35a4d46
fix/ICE-1010-improvement: test fix
hminaee-tc Sep 16, 2024
0fe80f8
fix/ICE-1010-improvement: update the test config
hminaee-tc Sep 17, 2024
1d6401a
fix/ICE-1010-improvement: update the test config
hminaee-tc Sep 18, 2024
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
22 changes: 22 additions & 0 deletions .github/actions/sanitized-branch-name/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: 'Detect TARGET_DIR'
description: 'Detects the target directory based on the branch name'
outputs:
target_dir:
description: 'The target directory'
value: ${{ steps.detect-target-dir.outputs.target_dir }}
runs:
using: 'composite'
steps:
- name: Detect TARGET_DIR
id: detect-target-dir
shell: bash
run: |
BRANCH_NAME=${GITHUB_REF##*/}
SANITIZED_BRANCH_NAME=$(echo $BRANCH_NAME | tr '/' '-')
echo "TARGET_DIR=${{ inputs.docs_prefix }}-$SANITIZED_BRANCH_NAME" >> $GITHUB_ENV
echo "target_dir=${{ inputs.docs_prefix }}-$SANITIZED_BRANCH_NAME" >> $GITHUB_OUTPUT
inputs:
docs_prefix:
description: 'Prefix for the documentation directory'
required: true
2 changes: 1 addition & 1 deletion .github/workflows/build-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version-file: '.nvmrc'
- name: Install dependencies and build
run: npm run install-and-build-all
- name: Set environment variable for head ref
Expand Down
104 changes: 104 additions & 0 deletions .github/workflows/deploy-js-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
---
name: deploy-js-docs
on:
push:
branches:
- '**'
pull_request:
types: [opened, synchronize, reopened]

jobs:
js-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

- name: Install dependencies
run: npm install

- name: Clean up existing artifacts
run: rm -rf docs

- name: Run jsdocs generation
run: npm run docs

- name: Upload jsdocs report
uses: actions/upload-artifact@v3
with:
name: jsdocs-report
path: docs

deploy-js-docs:
needs: js-docs
runs-on: ubuntu-latest
env:
DOCS_PREFIX: "jsdocs"
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Configure Git
run: |
git config --global user.email "github-actions@github.com"
git config --global user.name "GitHub Actions"

- name: Fetch all branches
run: git fetch --all

- name: Checkout gh-pages branch
run: git checkout gh-pages

- name: Detect TARGET_DIR
id: detect-target-dir
run: |
BRANCH_NAME=${GITHUB_REF##*/}
SANITIZED_BRANCH_NAME=$(echo $BRANCH_NAME | tr '/' '-')
echo "TARGET_DIR=${{ env.DOCS_PREFIX }}-$SANITIZED_BRANCH_NAME" >> $GITHUB_ENV

- name: delete existing coverage folder
env:
TARGET_DIR: ${{ env.TARGET_DIR }}
run: |
rm -rf "$TARGET_DIR"
rm -rf docs


- name: Download jsdocs report
uses: actions/download-artifact@v3
with:
name: jsdocs-report
path: docs

- name: Copy new docs to gh-pages
run: |
mkdir -p "$TARGET_DIR"
cp -r docs/* "$TARGET_DIR/"
git add .
git commit -m "Deploy js docs report for branch $BRANCH_NAME" || true
git push origin gh-pages || true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TARGET_DIR: ${{ env.TARGET_DIR }}

- name: Print Coverage Report URL
id: print-url
env:
TARGET_DIR: ${{ env.TARGET_DIR }}
run: |
REPOSITORY_OWNER=${{ github.repository_owner }}
REPOSITORY_NAME=${{ github.event.repository.name }}
BRANCH_NAME=${GITHUB_REF##*/}
SANITIZED_BRANCH_NAME=$(echo $BRANCH_NAME | tr '/' '-')
URL="https://$REPOSITORY_OWNER.github.io/$REPOSITORY_NAME/$TARGET_DIR/"
echo "It is deployed to: $URL"
echo "url=$URL" >> $GITHUB_OUTPUT

- name: Add Coverage Report URL to Job Summary
run: |
echo "[${{ steps.print-url.outputs.url }}](${{ steps.print-url.outputs.url }})" >> $GITHUB_STEP_SUMMARY
104 changes: 104 additions & 0 deletions .github/workflows/deploy-test-coverage-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
---
name: deploy-test-coverage-report
on:
push:
branches:
- '**'
pull_request:
types: [opened, synchronize, reopened]

jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

- name: Install dependencies
run: npm install

- name: Clean up existing artifacts
run: rm -rf coverage

- name: Run tests with coverage
run: npm run test:coverage

- name: Upload coverage report
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: coverage/lcov-report

deploy-coverage:
needs: unit-tests
runs-on: ubuntu-latest
env:
DOCS_PREFIX: 'coverage'
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Configure Git
run: |
git config --global user.email "github-actions@github.com"
git config --global user.name "GitHub Actions"

- name: Fetch all branches
run: git fetch --all

- name: Checkout gh-pages branch
run: git checkout gh-pages

- name: Detect TARGET_DIR
id: detect-target-dir
run: |
BRANCH_NAME=${GITHUB_REF##*/}
SANITIZED_BRANCH_NAME=$(echo $BRANCH_NAME | tr '/' '-')
echo "TARGET_DIR=${{ env.DOCS_PREFIX }}-$SANITIZED_BRANCH_NAME" >> $GITHUB_ENV

- name: delete existing coverage folder
env:
TARGET_DIR: ${{ env.TARGET_DIR }}
run: |
rm -rf "$TARGET_DIR"
rm -rf coverage

- name: Download coverage report
uses: actions/download-artifact@v3
with:
name: coverage-report
path: coverage

- name: Copy new coverage to coverage folder
env:
TARGET_DIR: ${{ env.TARGET_DIR }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir -p "$TARGET_DIR"
cp -r coverage/* "$TARGET_DIR/"
git add .
git commit -m "Deploy js docs report for branch $BRANCH_NAME" || true
git push origin gh-pages || true


- name: Print Coverage Report URL
id: print-url
env:
TARGET_DIR: ${{ env.TARGET_DIR }}
run: |
REPOSITORY_OWNER=${{ github.repository_owner }}
REPOSITORY_NAME=${{ github.event.repository.name }}
BRANCH_NAME=${GITHUB_REF##*/}
SANITIZED_BRANCH_NAME=$(echo $BRANCH_NAME | tr '/' '-')
URL="https://$REPOSITORY_OWNER.github.io/$REPOSITORY_NAME/$TARGET_DIR/"
echo "It is deployed to: $URL"
echo "url=$URL" >> $GITHUB_OUTPUT

- name: Add Coverage Report URL to Job Summary
run: |
echo "[${{ steps.print-url.outputs.url }}](${{ steps.print-url.outputs.url }})" >> $GITHUB_STEP_SUMMARY
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ logs/
# Local History for Visual Studio Code
.history/
**/node_modules/
node_modules/
**/coverage/
# Built Visual Studio Code Extensions
*.vsix

docs/
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ repos:
# Standard pre-commit-hooks for general all-purpose formatting and validation
# -----------------------------
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.16.0
rev: v9.18.0
hooks:
- id: commitlint
stages: [commit-msg]
Expand All @@ -48,7 +48,7 @@ repos:
# some_non_secret_value = a1b2c3d4e5f6g7h8i9j0 # gitleaks:allow
# -----------------------------
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.4
rev: v8.19.2
hooks:
- id: gitleaks
# -----------------------------
Expand Down
17 changes: 17 additions & 0 deletions check-commit-message/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "check-commit-message",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/github": "^6.0.0"
}
}
Loading