Skip to content

Commit

Permalink
refactor: remove redundant code as build already does lint
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Dec 7, 2024
1 parent b97c040 commit ec7064d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/minor-version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
git status
phoenix_version=`node -p "require('./package.json').apiVersion"`
echo "PHOENIX_VERSION=${phoenix_version}" >> $GITHUB_ENV
echo "SKIP_TEST_RUN_GITHUB=yes" >> $GITHUB_ENV
shell: bash

- name: Create Bump patch version Pull Request
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/patch-version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
git status
phoenix_version=`node -p "require('./package.json').apiVersion"`
echo "PHOENIX_VERSION=${phoenix_version}" >> $GITHUB_ENV
echo "SKIP_TEST_RUN_GITHUB=yes" >> $GITHUB_ENV
shell: bash

- name: Create Bump patch version Pull Request
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/yearly-major-version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
git status
phoenix_version=`node -p "require('./package.json').apiVersion"`
echo "PHOENIX_VERSION=${phoenix_version}" >> $GITHUB_ENV
echo "SKIP_TEST_RUN_GITHUB=yes" >> $GITHUB_ENV
shell: bash

- name: Create Bump patch version Pull Request
Expand Down
5 changes: 0 additions & 5 deletions .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,3 @@
. "$(dirname "$0")/_/husky.sh"

npm run build
if [ -z "${SKIP_TEST_RUN_GITHUB}" ]; then
npm run lint
else
echo "skipping test run as GitHub Actions environment test run skip is set"
fi

0 comments on commit ec7064d

Please sign in to comment.