Skip to content

Commit 7970f58

Browse files
committed
f
1 parent f10c670 commit 7970f58

5 files changed

Lines changed: 22 additions & 5 deletions

File tree

.github/workflows/cd_dev.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ jobs:
7979
git stash
8080
git checkout development
8181
git pull
82-
npm version prerelease --preid=alpha --no-git-tag-version
8382
npm install
8483
pm2 start ecosystem.config.json --env development --cwd .
8584
- name: Wait for service to be ready

.github/workflows/cd_prod.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ jobs:
7979
git stash
8080
git checkout main
8181
git pull
82-
npm version minor --no-git-tag-version
83-
npm version prerelease --preid=alpha
8482
npm install
8583
pm2 start ecosystem.config.json --env production --cwd .
8684
- name: Wait for service to be ready

.github/workflows/ci_dev.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,14 @@ jobs:
5151
run: |
5252
npm install
5353
npm run E2Etests
54+
55+
- name: Bump version (patch + prerelease)
56+
run: |
57+
git config user.name "github-actions[bot]"
58+
git config user.email "github-actions[bot]@users.noreply.github.com"
59+
npm version patch --no-git-tag-version
60+
npm version prerelease --preid=alpha
61+
git add package.json package-lock.json || true
62+
git commit -m "ci: bump version (patch+prerelease) [skip ci]" || echo "No changes to commit"
63+
git push origin HEAD:development || echo "No changes to push"
5464

.github/workflows/ci_prod.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,14 @@ jobs:
5151
run: |
5252
npm install
5353
npm run E2Etests
54+
55+
- name: Bump version (minor + prerelease)
56+
run: |
57+
git config user.name "github-actions[bot]"
58+
git config user.email "github-actions[bot]@users.noreply.github.com"
59+
npm version minor --no-git-tag-version
60+
npm version prerelease --preid=alpha
61+
git add package.json package-lock.json || true
62+
git commit -m "ci: bump version (minor+prerelease) [skip ci]" || echo "No changes to commit"
63+
git push origin HEAD:main || echo "No changes to push"
5464

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)