Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Update pull-request.yml workflow to use check-version action
Browse files Browse the repository at this point in the history
  • Loading branch information
cxmeel committed Mar 14, 2024
1 parent 961c890 commit 36e979d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,7 @@ jobs:
- name: Ensure version parity
run: lune run ensure-version-parity

- name: Ensure version has changed
run: |
current_version=$(jq -r .version package.json)
previous_version=$(git show origin/main:package.json | jq -r .version)
if [ "$current_version" == "$previous_version" ]; then
echo "Version has not changed"
exit 1
fi
- uses: kriasoft/check-version@v1

- name: Ensure tests exist
run: lune run ensure-tests src
Expand Down

0 comments on commit 36e979d

Please sign in to comment.