@hexonet/semantic-release-whmcs 5.0.19 → 5.0.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,31 +6,5 @@ on:
6
6
 
7
7
  jobs:
8
8
  release:
9
- name: Release
10
- runs-on: ${{ vars.RTLDEV_MW_CI_OS }}
11
- permissions:
12
- contents: write
13
- issues: write
14
- deployments: write
15
- steps:
16
- - name: Checkout
17
- uses: actions/checkout@v4
18
- with:
19
- fetch-depth: 0
20
- persist-credentials: false
21
- - name: Setup NodeJS ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
22
- uses: actions/setup-node@v4
23
- with:
24
- node-version: "${{ vars.RTLDEV_MW_CI_NODE_VERSION }}"
25
- check-latest: true
26
- cache: npm
27
- - name: Install dependencies
28
- run: npm ci
29
- - name: Release
30
- env:
31
- GITHUB_TOKEN: ${{ secrets.RTLDEV_MW_CI_TOKEN }}
32
- GITHUB_REPO: ${{ vars.GH_REPO }}
33
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
34
- TEAMS_NOTIFICATION_URI: ${{ secrets.RTLDEV_MW_CI_NOTIFICATION_URI }}
35
- COMMIT_SHA: ${{ github.sha }}
36
- run: npx semantic-release
9
+ uses: centralnicgroup-opensource/rtldev-middleware-shareable-workflows/.github/workflows/semantic-release-whmcs-release.yml@main
10
+ secrets: inherit
@@ -1,60 +1,11 @@
1
- name: Lint codebase & Execute tests
1
+ name: Dependabot auto-merge & tests
2
2
  on:
3
- workflow_call:
3
+ pull_request:
4
+ types:
5
+ - opened
6
+ - synchronize
4
7
 
5
8
  jobs:
6
- test:
7
- name: 🧪 Testing & Testing
8
- runs-on: ${{ vars.RTLDEV_MW_CI_OS }}
9
- permissions:
10
- contents: read
11
- strategy:
12
- matrix:
13
- node-version: ${{ fromJson(vars.RTLDEV_MW_CI_NODE_MATRIX) }}
14
-
15
- steps:
16
- - name: Checkout
17
- uses: actions/checkout@v4
18
- - name: Setup NodeJS ${{ matrix.node-version }}
19
- uses: actions/setup-node@v4
20
- with:
21
- node-version: ${{ matrix.node-version }}
22
- cache: npm
23
- - name: Install dependencies
24
- run: npm ci
25
- - name: Linting
26
- run: npm run lint
27
- - name: Tests
28
- env:
29
- GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
30
- GITHUB_REPO: ${{ vars.GH_REPO }}
31
- WHMCSMP_LOGIN: ${{ secrets.WHMCSMP_LOGIN }}
32
- WHMCSMP_PASSWORD: ${{ secrets.WHMCSMP_PASSWORD }}
33
- WHMCSMP_PRODUCTID: ${{ vars.WHMCSMP_PRODUCTID }}
34
- WHMCSMP_MINVERSION: ${{ vars.WHMCSMP_MINVERSION }}
35
- DEBUG: ${{ vars.DEBUG }}
36
- run: npm run test
37
-
38
- perform_codeql_analysis:
39
- name: 🧪 CodeQL Analysis
40
- runs-on: ${{ vars.RTLDEV_MW_CI_OS }}
41
- needs: test
42
- permissions:
43
- contents: read
44
- security-events: write
45
- steps:
46
- - name: Checkout
47
- uses: actions/checkout@v4
48
- - name: Setup NodeJS ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
49
- uses: actions/setup-node@v4
50
- with:
51
- node-version: ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
52
- cache: npm
53
- - name: Install dependencies
54
- run: npm ci
55
- - name: Initialize CodeQL
56
- uses: github/codeql-action/init@v3
57
- with:
58
- languages: javascript
59
- - name: Perform CodeQL Analysis
60
- uses: github/codeql-action/analyze@v3
9
+ tests:
10
+ uses: centralnicgroup-opensource/rtldev-middleware-shareable-workflows/.github/workflows/semantic-release-whmcs-test.yml@main
11
+ secrets: inherit
package/.releaserc.json CHANGED
@@ -8,12 +8,6 @@
8
8
  "changelogFile": "HISTORY.md"
9
9
  }
10
10
  ],
11
- [
12
- "@semantic-release/exec",
13
- {
14
- "successCmd": "gulp -f gulpfile.cjs publishNotification --update \"${nextRelease.version}\" --type \"${nextRelease.type}\" --notes \"${encodeURIComponent(nextRelease.notes)}\""
15
- }
16
- ],
17
11
  "@semantic-release/npm",
18
12
  [
19
13
  "@semantic-release/git",
@@ -22,6 +16,7 @@
22
16
  "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
23
17
  }
24
18
  ],
19
+ "semantic-release-teams-notify-plugin",
25
20
  "@semantic-release/github"
26
21
  ]
27
22
  }
package/HISTORY.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [5.0.21](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/compare/v5.0.20...v5.0.21) (2024-06-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** bump debug from 4.3.4 to 4.3.5 ([0f35d82](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/commit/0f35d827004a5e18481ab29e637613800cd7ef0d))
7
+
8
+ ## [5.0.20](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/compare/v5.0.19...v5.0.20) (2024-04-05)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** bump puppeteer from 22.6.2 to 22.6.3 ([45557bc](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/commit/45557bc0fb737db9e71f354555b154a2963e6ad7))
14
+
1
15
  ## [5.0.19](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/compare/v5.0.18...v5.0.19) (2024-03-20)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hexonet/semantic-release-whmcs",
3
3
  "description": "`semantic-release` plugin for auto-publishing on WHMCS marketplace",
4
- "version": "5.0.19",
4
+ "version": "5.0.21",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "publishConfig": {
@@ -69,19 +69,17 @@
69
69
  "http-cache-semantics": "^4.1.1",
70
70
  "word-wrap": "npm:@aashutoshrathi/word-wrap@1.2.6",
71
71
  "axios": "^1.6.0",
72
- "glob-parent": "^5.1.2",
73
- "chokidar": "^3.5.3"
72
+ "glob-parent": "^5.1.2"
74
73
  },
75
74
  "devDependencies": {
76
75
  "@semantic-release/changelog": "^6.0.3",
77
76
  "@semantic-release/exec": "^6.0.3",
78
77
  "@semantic-release/git": "^10.0.1",
79
- "ava": "6.1.2",
80
- "c8": "^9.1.0",
81
- "gulp": "^4.0.2",
78
+ "ava": "6.1.3",
79
+ "c8": "^10.0.0",
82
80
  "prettier": "^3.0.0",
83
- "rtldev-middleware-gulp-release-notification-plugin": "github:centralnicgroup-opensource/rtldev-middleware-gulp-release-notification-plugin#semver:^2.0.0",
84
- "semantic-release": "^23.0.0",
81
+ "semantic-release": "^24.0.0",
82
+ "semantic-release-teams-notify-plugin": "github:centralnicgroup-opensource/rtldev-middleware-semantic-release-notify-plugin",
85
83
  "stream-buffers": "^3.0.2"
86
84
  },
87
85
  "dependencies": {
@@ -1,36 +0,0 @@
1
- name: Dependabot auto-merge
2
- on:
3
- pull_request:
4
- types:
5
- - opened
6
- - synchronize
7
-
8
- jobs:
9
- tests:
10
- uses: ./.github/workflows/test.yml
11
- secrets: inherit
12
- permissions:
13
- contents: read
14
- security-events: write
15
-
16
- dependabot:
17
- if: ${{ github.actor == 'dependabot[bot]' }}
18
- name: Auto-merge Dependabot PR
19
- runs-on: ${{ vars.RTLDEV_MW_CI_OS }}
20
- needs: tests
21
- permissions:
22
- contents: write
23
- pull-requests: write
24
- steps:
25
- - name: Dependabot metadata
26
- id: metadata
27
- uses: dependabot/fetch-metadata@v1
28
- with:
29
- github-token: "${{ secrets.GITHUB_TOKEN }}"
30
- - name: Enable auto-merge for Dependabot PRs
31
- # (fixes, features but not major upgrades!)
32
- if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
33
- run: gh pr merge --auto -d -r "$PR_URL"
34
- env:
35
- PR_URL: ${{github.event.pull_request.html_url}}
36
- GITHUB_TOKEN: ${{secrets.RTLDEV_MW_CI_TOKEN}}
package/gulpfile.cjs DELETED
@@ -1 +0,0 @@
1
- exports.publishNotification = require('rtldev-middleware-gulp-release-notification-plugin');