Skip to content

Commit

Permalink
node_lint_test: Add changesets (#28)
Browse files Browse the repository at this point in the history
* node_lint_test: Add changesets

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: babylon-devops <[email protected]>
  • Loading branch information
maiquanghiep and babylon-devops authored Nov 21, 2024
1 parent bb6227a commit 847e91a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/reusable_node_lint_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ on:
type: string
required: false
default: 'npm publish'
run-changesets:
description: 'Run Changesets Release Action'
type: boolean
default: false

jobs:
build:
Expand Down Expand Up @@ -57,6 +61,12 @@ jobs:
if: ${{ inputs.run-build }}
run: npm run build

- name: Create Release Pull Request
if: ${{ inputs.run-changesets }}
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish package
if: ${{ inputs.publish }}
run: |
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG


## 0.11.0

- reusable_node_lint_test: Support changesets release action

## 0.10.2

- Add inputs to allow Trivy failing: trivy_failable
Expand Down

0 comments on commit 847e91a

Please sign in to comment.