@daiyam/artifact-lang-js 0.11.2 → 0.11.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daiyam/artifact-lang-js",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.4",
|
|
4
4
|
"description": "The base configuration for my javascript projects",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Baptiste Augrain",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"project-template",
|
|
32
32
|
"scaffold"
|
|
33
33
|
],
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "2a0e303b267525527fcb44e01d605d094a09cc2c"
|
|
35
35
|
}
|
|
@@ -24,7 +24,7 @@ jobs:
|
|
|
24
24
|
pipx install zizmor
|
|
25
25
|
|
|
26
26
|
- name: Setup Node.js environment
|
|
27
|
-
uses: actions/setup-node@
|
|
27
|
+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
28
28
|
with:
|
|
29
29
|
node-version-file: .nvmrc
|
|
30
30
|
|
|
@@ -46,7 +46,11 @@ jobs:
|
|
|
46
46
|
|
|
47
47
|
- name: Lint commit
|
|
48
48
|
run: |
|
|
49
|
-
|
|
49
|
+
if [[ "${BASE_SHA}" = "0000000000000000000000000000000000000000" ]]; then
|
|
50
|
+
npx commitlint --from HEAD^ --verbose
|
|
51
|
+
else
|
|
52
|
+
npx commitlint --from "${BASE_SHA}" --to "${HEAD_SHA}" --verbose
|
|
53
|
+
fi
|
|
50
54
|
env:
|
|
51
55
|
BASE_SHA: ${{ github.event.before }}
|
|
52
|
-
HEAD_SHA: ${{ github.event.
|
|
56
|
+
HEAD_SHA: ${{ github.event.head_commit.id }}
|
|
@@ -24,7 +24,7 @@ jobs:
|
|
|
24
24
|
pipx install zizmor
|
|
25
25
|
|
|
26
26
|
- name: Setup Node.js environment
|
|
27
|
-
uses: actions/setup-node@
|
|
27
|
+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
28
28
|
with:
|
|
29
29
|
node-version-file: .nvmrc
|
|
30
30
|
|
|
@@ -46,7 +46,11 @@ jobs:
|
|
|
46
46
|
|
|
47
47
|
- name: Lint commit
|
|
48
48
|
run: |
|
|
49
|
-
|
|
49
|
+
if [[ "${BASE_SHA}" = "0000000000000000000000000000000000000000" ]]; then
|
|
50
|
+
npx commitlint --from HEAD^ --verbose
|
|
51
|
+
else
|
|
52
|
+
npx commitlint --from "${BASE_SHA}" --to "${HEAD_SHA}" --verbose
|
|
53
|
+
fi
|
|
50
54
|
env:
|
|
51
55
|
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
|
52
56
|
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"lint:all": "fixpack && npm audit && npm run ci:lint",
|
|
7
7
|
"prepare": "husky; fixpack || true",
|
|
8
8
|
"update:artifacts": "artifact update",
|
|
9
|
-
"update:ci": "PINACT_MIN_AGE=7 pinact run",
|
|
9
|
+
"update:ci": "PINACT_MIN_AGE=7 pinact run --update",
|
|
10
10
|
"update:deps": "taze"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {},
|