ins-queue-actions 1.2.20 → 1.2.22

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.
@@ -0,0 +1,40 @@
1
+ name: Node.js Package
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ version_update:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - uses: actions/setup-node@v4
15
+ with:
16
+ node-version: 20
17
+
18
+ - name: Bump version if needed
19
+ id: version_bump
20
+ run: |
21
+ NEW_VERSION=$(npm version patch --no-git-tag-version)
22
+ echo "new_version=$NEW_VERSION" >> $GITHUB_ENV
23
+ git config user.name "GitHub Actions"
24
+ git config user.email "actions@github.com"
25
+ git add package.json package-lock.json
26
+ git commit -m "Bump version to $NEW_VERSION" || true
27
+ git push origin main || true
28
+
29
+ publish-npm:
30
+ needs: version_update
31
+ runs-on: ubuntu-latest
32
+ steps:
33
+ - uses: actions/checkout@v4
34
+ - uses: actions/setup-node@v4
35
+ with:
36
+ node-version: 20
37
+ registry-url: https://registry.npmjs.org/
38
+ - run: npm publish
39
+ env:
40
+ NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ins-queue-actions",
3
- "version": "1.2.20",
3
+ "version": "1.2.22",
4
4
  "main": "index.js",
5
5
  "engineStrict": true
6
6
  }