Skip to content

[Release] release v0.0.3 #3

[Release] release v0.0.3

[Release] release v0.0.3 #3

name: Version and Changelog Verification
on:
pull_request:
branches:
- main
jobs:
verify-changes:
runs-on: ubuntu-latest
if: github.event.pull_request.base.ref == 'main' && github.event.pull_request.head.ref == 'dev'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Check for version update in package.json
id: check_version
uses: EndBug/version-check@v2
with:
diff-search: true
assume-same-version: old
- name: Enforce CHANGELOG.md update
uses: dangoslen/changelog-enforcer@v3
with:
expectedLatestVersion: ${{ steps.check_version.outputs.version }}