itee-tasks 1.0.3 → 1.0.4
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.
- package/.github/workflows/{node.js.yml → publish.yml} +20 -17
- package/.releaserc.mjs +5 -1
- package/CHANGELOG.md +2 -0
- package/package.json +16 -7
|
@@ -10,7 +10,7 @@ on:
|
|
|
10
10
|
branches: [ master ]
|
|
11
11
|
|
|
12
12
|
jobs:
|
|
13
|
-
|
|
13
|
+
test:
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
env:
|
|
16
16
|
MOZ_HEADLESS: 1
|
|
@@ -19,38 +19,41 @@ jobs:
|
|
|
19
19
|
node-version: [ 20.x, 22.x, 24.x ]
|
|
20
20
|
firefox: [ 'latest' ]
|
|
21
21
|
steps:
|
|
22
|
-
- name:
|
|
23
|
-
uses: actions/
|
|
22
|
+
- name: Checkout ${{ env.GITHUB_REPOSITORY }}
|
|
23
|
+
uses: actions/checkout@v4
|
|
24
|
+
with:
|
|
25
|
+
fetch-depth: 0
|
|
26
|
+
- name: Setup Node.js ${{ matrix.node-version }}
|
|
27
|
+
uses: actions/setup-node@v4
|
|
24
28
|
with:
|
|
25
29
|
node-version: ${{ matrix.node-version }}
|
|
26
30
|
- name: Setup Firefox ${{ matrix.firefox }}
|
|
27
31
|
uses: browser-actions/setup-firefox@latest
|
|
28
32
|
with:
|
|
29
33
|
firefox-version: ${{ matrix.firefox }}
|
|
30
|
-
- name: Checkout ${{ env.GITHUB_REPOSITORY }}
|
|
31
|
-
uses: actions/checkout@v2
|
|
32
34
|
- name: Install dependencies
|
|
33
|
-
run: npm
|
|
34
|
-
- name:
|
|
35
|
+
run: npm clean-install
|
|
36
|
+
- name: Tests
|
|
35
37
|
run: npm run build && npm run lint && npm run tests:run
|
|
36
38
|
|
|
37
39
|
publish:
|
|
38
|
-
needs:
|
|
40
|
+
needs: test
|
|
39
41
|
runs-on: ubuntu-latest
|
|
40
42
|
permissions:
|
|
41
43
|
id-token: write
|
|
42
44
|
contents: write
|
|
43
|
-
env:
|
|
44
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
45
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
46
45
|
steps:
|
|
47
|
-
- name:
|
|
48
|
-
uses: actions/
|
|
46
|
+
- name: Checkout ${{ env.GITHUB_REPOSITORY }}
|
|
47
|
+
uses: actions/checkout@v4
|
|
48
|
+
- name: Setup Node.js ${{ matrix.node-version }}
|
|
49
|
+
uses: actions/setup-node@v4
|
|
49
50
|
with:
|
|
50
51
|
node-version: "lts/*"
|
|
51
|
-
- name: Checkout ${{ env.GITHUB_REPOSITORY }}
|
|
52
|
-
uses: actions/checkout@v2
|
|
53
52
|
- name: Install dependencies
|
|
54
|
-
run: npm
|
|
53
|
+
run: npm clean-install
|
|
54
|
+
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
|
|
55
|
+
run: npm audit signatures
|
|
55
56
|
- name: Semantic Release
|
|
56
|
-
|
|
57
|
+
env:
|
|
58
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
59
|
+
run: npm run lint && npm run doc && npm run build && npx semantic-release
|
package/.releaserc.mjs
CHANGED
|
@@ -84,7 +84,11 @@ function getCIConfig() {
|
|
|
84
84
|
return {
|
|
85
85
|
branch: 'master',
|
|
86
86
|
plugins: [
|
|
87
|
-
getGitmojiPlugin(),
|
|
87
|
+
getGitmojiPlugin(),
|
|
88
|
+
getChangelogPlugin(),
|
|
89
|
+
getNpmPlugin(),
|
|
90
|
+
getGithubPlugin(),
|
|
91
|
+
getGitPlugin()
|
|
88
92
|
]
|
|
89
93
|
}
|
|
90
94
|
}
|
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "itee-tasks",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Allow to manage all commons itee gulp tasks into one place ",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"itee",
|
|
@@ -24,11 +24,13 @@
|
|
|
24
24
|
"bugs": {
|
|
25
25
|
"url": "https://github.com/Itee/itee-tasks/issues"
|
|
26
26
|
},
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=20"
|
|
29
|
+
},
|
|
27
30
|
"scripts": {
|
|
28
31
|
"default": "gulp --tasks",
|
|
29
32
|
"refresh": "node ./sources/refresh.mjs",
|
|
30
33
|
"help": "gulp help",
|
|
31
|
-
"patch": "gulp patch",
|
|
32
34
|
"clean": "gulp clean",
|
|
33
35
|
"lint": "gulp lint",
|
|
34
36
|
"doc": "gulp doc",
|
|
@@ -51,8 +53,12 @@
|
|
|
51
53
|
"postversion": "gulp build"
|
|
52
54
|
},
|
|
53
55
|
"devDependencies": {
|
|
56
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
57
|
+
"@semantic-release/git": "^10.0.1",
|
|
58
|
+
"@semantic-release/github": "^12.0.2",
|
|
59
|
+
"@semantic-release/npm": "^13.1.3",
|
|
54
60
|
"cz-emoji": "^1.3.2-canary.2",
|
|
55
|
-
"semantic-release": "^
|
|
61
|
+
"semantic-release": "^25.0.2",
|
|
56
62
|
"semantic-release-gitmoji": "^1.6.8"
|
|
57
63
|
},
|
|
58
64
|
"dependencies": {
|
|
@@ -62,10 +68,6 @@
|
|
|
62
68
|
"@rollup/plugin-commonjs": "^28.0.9",
|
|
63
69
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
64
70
|
"@rollup/plugin-terser": "^0.4.4",
|
|
65
|
-
"@semantic-release/changelog": "^6.0.3",
|
|
66
|
-
"@semantic-release/git": "^10.0.1",
|
|
67
|
-
"@semantic-release/github": "^11.0.6",
|
|
68
|
-
"@semantic-release/npm": "^12.0.2",
|
|
69
71
|
"@web/test-runner": "^0.20.2",
|
|
70
72
|
"@web/test-runner-playwright": "^0.11.1",
|
|
71
73
|
"ansi-colors": "^4.1.3",
|
|
@@ -87,5 +89,12 @@
|
|
|
87
89
|
"rollup": "^4.55.1",
|
|
88
90
|
"rollup-plugin-cleanup": "^3.2.1",
|
|
89
91
|
"rollup-plugin-re": "^1.0.7"
|
|
92
|
+
},
|
|
93
|
+
"overrides": {
|
|
94
|
+
"semantic-release-gitmoji": {
|
|
95
|
+
"semantic-release": "<26",
|
|
96
|
+
"@semantic-release/github": "12.0.1",
|
|
97
|
+
"@semantic-release/npm": "13.1.1"
|
|
98
|
+
}
|
|
90
99
|
}
|
|
91
100
|
}
|