Skip to content

Commit e7e98a1

Browse files
committed
ci: skip test run in bum patch version step
1 parent e35afe2 commit e7e98a1

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/patch-version-bump.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
git status
1919
phoenix_version=`node -p "require('./package.json').apiVersion"`
2020
echo "PHOENIX_VERSION=${phoenix_version}" >> $GITHUB_ENV
21+
echo "SKIP_TEST_RUN_GITHUB=yes" >> $GITHUB_ENV
2122
shell: bash
2223

2324
- name: Create Bump patch version Pull Request

.husky/pre-push

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@
22
. "$(dirname "$0")/_/husky.sh"
33

44
npm run build
5-
npm run test
5+
if [[ -z "${SKIP_TEST_RUN_GITHUB}" ]]; then
6+
npm run test
7+
else
8+
echo "skipping test run as GitHub Actions environment test run skip is set"
9+
fi

0 commit comments

Comments
 (0)