Skip to content

Commit

Permalink
chore: remove step to verify if tag is created on master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
tribiec committed Feb 2, 2024
1 parent 33ee773 commit 7760564
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/npm_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@ jobs:
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
- name: Verify if tag is in master branch
run: |
TAG_COMMIT=$(git rev-list -n 1 ${{ github.ref }})
MASTER_COMMIT=$(git rev-list -n 1 master)
if ! git merge-base --is-ancestor $TAG_COMMIT $MASTER_COMMIT; then
echo "Tag is not in master branch."
exit 1
fi
- name: Build (if needed for publication)
run: npm run build
- name: npm publish
Expand Down

0 comments on commit 7760564

Please sign in to comment.