ins-queue-actions 1.2.21 → 1.2.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,14 +15,16 @@ jobs:
15
15
  with:
16
16
  node-version: 20
17
17
 
18
- - name: Bump version if needed
18
+ - name: Bump version and commit changes
19
+ id: version_bump
19
20
  run: |
20
- npm version patch --no-git-tag-version || true
21
+ NEW_VERSION=$(npm version patch --no-git-tag-version)
22
+ echo "new_version=$NEW_VERSION" >> $GITHUB_ENV
21
23
  git config user.name "GitHub Actions"
22
24
  git config user.email "actions@github.com"
23
- git add package.json
24
- git commit -m "Bump version" || true
25
- git push origin main || true
25
+ git add package.json package-lock.json
26
+ git commit -m "Bump version to $NEW_VERSION"
27
+ git push origin main
26
28
 
27
29
  publish-npm:
28
30
  needs: version_update
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ins-queue-actions",
3
- "version": "1.2.21",
3
+ "version": "1.2.23",
4
4
  "main": "index.js",
5
5
  "engineStrict": true
6
6
  }