Skip to content

Commit

Permalink
Testing CI job to validate package.json bump
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfarrell76 committed Jul 9, 2022
1 parent 3e7f5de commit 3b48572
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/require_package_bump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Require package.json Bump
on: push

jobs:
publish:
name: Publish to NPM & GitHub Package Registry
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: master
- name: Check version changes
uses: EndBug/version-check@v1
id: check
- name: Version update detected
if: steps.check.outputs.changed == 'true'
run: 'echo "Version change found! New version: ${{ steps.check.outputs.version }} (${{ steps.check.outputs.type }})"'

0 comments on commit 3b48572

Please sign in to comment.