Skip to content

Commit

Permalink
Merge pull request #43 from BarthPaleologue/PatchCurrentRelease
Browse files Browse the repository at this point in the history
1.6.4 - Better CI
  • Loading branch information
BarthPaleologue committed Feb 23, 2024
2 parents a34061a + 1036cab commit f07a349
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 5 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/check-version-bump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check Version Bump
on:
pull_request:
branches: [ "main" ]

jobs:
check-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: johnnybenson/package-json-versioned-action@v1.0.5
id: package-json
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check if version has been updated
if: steps.package-json.outputs.has-updated == 'false'
run: |
echo "The version has not been updated"
exit 1
4 changes: 2 additions & 2 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
branches: [ "main", "NextRelease", "PatchCurrentRelease" ]
jobs:
build:
eslint:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
branches: [ "main", "NextRelease", "PatchCurrentRelease" ]
jobs:
build:
jest:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"version": "1.6.2",
"version": "1.6.4",
"description": "CosmosJourneyer",
"name": "cosmos-journeyer",
"scripts": {
Expand Down

0 comments on commit f07a349

Please sign in to comment.