Skip to content

Commit

Permalink
testing gh action
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Uvi <[email protected]>
  • Loading branch information
Josh-Uvi committed Dec 18, 2024
1 parent d9bbd4a commit 111b4b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Necessary so we have commit history to compare to
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test

- name: Check if version has been updated
id: check
uses: EndBug/version-check@v2
Expand All @@ -25,6 +28,7 @@ jobs:
run: 'echo "No version change :/"'

release:
needs: build
if: steps.check.outputs.changed == 'true'
name: Release pushed tag
runs-on: ubuntu-latest
Expand All @@ -43,6 +47,7 @@ jobs:
--generate-notes
publish-gpr:
needs: build
if: steps.check.outputs.changed == 'true'
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 111b4b7

Please sign in to comment.