Skip to content

Commit

Permalink
fix(no-ref): add version for build
Browse files Browse the repository at this point in the history
* fix(no-ref): add version for build v2

* fix(no-ref): add version for build v3

---------

Co-authored-by: Igor Nepipenko <[email protected]>
  • Loading branch information
NepipenkoIgor and igorn-mwp authored Mar 18, 2024
1 parent 854f97a commit 5b067b1
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ fi

npm run test

npm run cypress:bash

npm run build

npm run build:lib
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
echo '********'
echo "RELEASE_VERSION: $RELEASE_VERSION"
echo '********'
bash .github/scripts/replace_template.sh $RELEASE_VERSION
bash .github/workflows/scripts/replace_template.sh $RELEASE_VERSION
npm run build
- name: Deploy demo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/quality-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
run: |
npm ci --force
git submodule update --init --recursive --remote
bash .github/workflows/scripts/quality
bash .github/workflows/scripts/quality.sh
9 changes: 0 additions & 9 deletions .github/workflows/scripts/quality

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/scripts/quality.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin

set -e

npm run lint

output=$(npm run type-coverage)
if echo "$output" | grep -q "lower than "; then
echo "$output"
exit 1 # Terminate the hook script with a non-zero exit code
else
echo "Type coverage is good! 🎉"
fi

npm run test

npm run cypress:bash

npm run build

npm run build:lib
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ if [ $# -ne 1 ]; then
exit 1
fi

current_directory=$(pwd)
echo "Current directory: $current_directory"

# Assign arguments to variables
custom_string="$1"

Expand Down

0 comments on commit 5b067b1

Please sign in to comment.