@hexonet/semantic-release-whmcs 5.0.3 → 5.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,18 @@
1
1
  version: 2
2
2
  updates:
3
- - package-ecosystem: npm
3
+ - package-ecosystem: "npm"
4
4
  directory: "/"
5
5
  schedule:
6
- interval: daily
7
- open-pull-requests-limit: 10
6
+ interval: "daily"
8
7
  commit-message:
9
- prefix: chore
8
+ prefix: "fix"
9
+ prefix-development: "chore"
10
+ include: "scope"
11
+
12
+ - package-ecosystem: "github-actions"
13
+ directory: "/"
14
+ schedule:
15
+ interval: "daily"
16
+ commit-message:
17
+ prefix: "chore"
18
+ include: "scope"
@@ -6,18 +6,19 @@ on:
6
6
 
7
7
  jobs:
8
8
  release:
9
- name: Release @ NodeJS LTS - x86 - ubuntu-latest
9
+ name: Release @ ubuntu-latest
10
10
  runs-on: ubuntu-latest
11
11
  steps:
12
12
  - name: Checkout
13
- uses: actions/checkout@v3
13
+ uses: actions/checkout@v4
14
14
  with:
15
15
  fetch-depth: 0
16
16
  persist-credentials: false
17
- - name: Setup NodeJS LTS
17
+ - name: Setup NodeJS ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
18
18
  uses: actions/setup-node@v3
19
19
  with:
20
- node-version: lts/*
20
+ node-version: "${{ vars.RTLDEV_MW_CI_NODE_VERSION }}"
21
+ check-latest: true
21
22
  cache: npm
22
23
  - name: Install dependencies
23
24
  run: npm ci
@@ -26,4 +27,5 @@ jobs:
26
27
  GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
27
28
  GITHUB_REPO: ${{ secrets.GH_REPO }}
28
29
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
30
+ RTLDEV_MW_NOTIFICATION_URI: ${{ secrets.RTLDEV_MW_NOTIFICATION_URI }}
29
31
  run: npx semantic-release
@@ -11,14 +11,15 @@ on:
11
11
 
12
12
  jobs:
13
13
  test:
14
- name: Test @ NodeJS - x86 - ubuntu-latest
14
+ name: Test @ ubuntu-latest
15
15
  runs-on: ubuntu-latest
16
16
  strategy:
17
17
  matrix:
18
- node-version: [lts/*]
18
+ node-version: ${{ fromJson(vars.RTLDEV_MW_CI_NODE_MATRIX) }}
19
+
19
20
  steps:
20
21
  - name: Checkout
21
- uses: actions/checkout@v3
22
+ uses: actions/checkout@v4
22
23
  - name: Setup NodeJS ${{ matrix.node-version }}
23
24
  uses: actions/setup-node@v3
24
25
  with:
@@ -31,13 +32,28 @@ jobs:
31
32
  - name: Tests
32
33
  env:
33
34
  GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
34
- GITHUB_REPO: ${{ secrets.GH_REPO }}
35
+ GITHUB_REPO: ${{ vars.GH_REPO }}
35
36
  WHMCSMP_LOGIN: ${{ secrets.WHMCSMP_LOGIN }}
36
37
  WHMCSMP_PASSWORD: ${{ secrets.WHMCSMP_PASSWORD }}
37
- WHMCSMP_PRODUCTID: ${{ secrets.WHMCSMP_PRODUCTID }}
38
- WHMCSMP_MINVERSION: ${{ secrets.WHMCSMP_MINVERSION }}
39
- DEBUG: ${{ secrets.DEBUG }}
38
+ WHMCSMP_PRODUCTID: ${{ vars.WHMCSMP_PRODUCTID }}
39
+ WHMCSMP_MINVERSION: ${{ vars.WHMCSMP_MINVERSION }}
40
+ DEBUG: ${{ vars.DEBUG }}
40
41
  run: npm run test
42
+
43
+ perform_codeql_analysis:
44
+ name: Perform CodeQL Analysis
45
+ runs-on: ubuntu-latest
46
+ needs: test
47
+ steps:
48
+ - name: Checkout
49
+ uses: actions/checkout@v4
50
+ - name: Setup NodeJS ${{ matrix.node-version }}
51
+ uses: actions/setup-node@v3
52
+ with:
53
+ node-version: ${{ matrix.node-version }}
54
+ cache: npm
55
+ - name: Install dependencies
56
+ run: npm ci
41
57
  - name: Initialize CodeQL
42
58
  uses: github/codeql-action/init@v2
43
59
  with:
package/.releaserc.json CHANGED
@@ -8,6 +8,12 @@
8
8
  "changelogFile": "HISTORY.md"
9
9
  }
10
10
  ],
11
+ [
12
+ "@semantic-release/exec",
13
+ {
14
+ "successCmd": "gulp -f gulpfile.cjs publish --notes \"${encodeURIComponent(nextRelease.notes)}\""
15
+ }
16
+ ],
11
17
  "@semantic-release/npm",
12
18
  [
13
19
  "@semantic-release/git",
package/HISTORY.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [5.0.5](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/compare/v5.0.4...v5.0.5) (2023-10-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** bump puppeteer from 21.3.8 to 21.4.0 ([44d0227](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/commit/44d02273e49562db8281730a75bfc3b1b8e013ea))
7
+
8
+ ## [5.0.4](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/compare/v5.0.3...v5.0.4) (2023-10-09)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **package.json & releaserc.json:** Semantic release bump to 22.0.5 and node to latest, gulp plugin to release notifications on teams ([b57bcbd](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/commit/b57bcbd40ceca2661a4141ee943fb900f2691f62))
14
+
1
15
  ## [5.0.3](https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs/compare/v5.0.2...v5.0.3) (2023-07-11)
2
16
 
3
17
 
package/gulpfile.cjs ADDED
@@ -0,0 +1 @@
1
+ exports.publish = require('rtldev-middleware-gulp-release-notification-plugin');
package/lib/puppet.js CHANGED
@@ -17,7 +17,7 @@ export default async (context) => {
17
17
  timeout: 240000,
18
18
  },
19
19
  selectorOpts: {
20
- timeout: 20000,
20
+ timeout: 60000,
21
21
  },
22
22
  logger: context.logger,
23
23
  };
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.3",
4
+ "version": "5.0.5",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "publishConfig": {
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "license": "MIT",
15
15
  "engines": {
16
- "node": ">=18.3.0"
16
+ "node": ">=20.6.1"
17
17
  },
18
18
  "homepage": "https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs#readme",
19
19
  "repository": "github:centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs",
@@ -70,21 +70,23 @@
70
70
  "word-wrap": "npm:@aashutoshrathi/word-wrap@1.2.6"
71
71
  },
72
72
  "devDependencies": {
73
- "@semantic-release/changelog": "^6.0.1",
74
- "@semantic-release/exec": "^6.0.2",
73
+ "@semantic-release/changelog": "^6.0.3",
74
+ "@semantic-release/exec": "^6.0.3",
75
75
  "@semantic-release/git": "^10.0.1",
76
76
  "ava": "5.3.1",
77
77
  "c8": "^8.0.0",
78
+ "gulp": "^4.0.2",
78
79
  "prettier": "^3.0.0",
79
- "semantic-release": "^21.0.0",
80
+ "rtldev-middleware-gulp-release-notification-plugin": "github:centralnicgroup-opensource/rtldev-middleware-gulp-release-notification-plugin",
81
+ "semantic-release": "^22.0.5",
80
82
  "stream-buffers": "^3.0.2"
81
83
  },
82
84
  "dependencies": {
83
85
  "@semantic-release/error": "^4.0.0",
84
- "aggregate-error": "^4.0.1",
86
+ "aggregate-error": "^5.0.0",
85
87
  "debug": "^4.3.4",
86
88
  "github-api": "^3.4.0",
87
- "puppeteer": "^20.0.0",
89
+ "puppeteer": "^21.3.6",
88
90
  "yargs": "^17.7.1"
89
91
  }
90
92
  }