Rename codecov yml to follow the new standards #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Check Version Bump | |
on: | |
pull_request: | |
jobs: | |
check-version-bump: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check if version has been updated | |
id: check | |
uses: EndBug/version-check@v2 | |
with: | |
diff-search: true | |
- name: Log when changed | |
if: steps.check.outputs.changed == 'true' | |
run: 'echo "Version change found in commit ${{ steps.check.outputs.commit }}! New version: ${{ steps.check.outputs.version }} (${{ steps.check.outputs.type }})"' | |
- name: Log when unchanged | |
if: steps.check.outputs.changed == 'false' | |
run: 'echo "No version change! Please bump the version in package.json!" && exit 1' |