@npmcli/template-oss 4.6.2 → 4.7.0
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.
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
name: CI - Release
|
|
3
3
|
|
|
4
4
|
on:
|
|
5
|
+
workflow_dispatch:
|
|
6
|
+
inputs:
|
|
7
|
+
ref:
|
|
8
|
+
required: true
|
|
9
|
+
type: string
|
|
10
|
+
default: {{ defaultBranch }}
|
|
5
11
|
workflow_call:
|
|
6
12
|
inputs:
|
|
7
13
|
ref:
|
|
@@ -15,7 +21,7 @@ jobs:
|
|
|
15
21
|
lint-all:
|
|
16
22
|
{{> job
|
|
17
23
|
jobName="Lint All"
|
|
18
|
-
jobCheck=(obj sha="${{ inputs.check-sha }}")
|
|
24
|
+
jobCheck=(obj sha="${{ inputs.check-sha }}" if="inputs.check-sha")
|
|
19
25
|
jobCheckout=(obj ref="${{ inputs.ref }}")
|
|
20
26
|
}}
|
|
21
27
|
{{> stepLint jobRunFlags=allFlags }}
|
|
@@ -24,7 +30,7 @@ jobs:
|
|
|
24
30
|
test-all:
|
|
25
31
|
{{> jobMatrix
|
|
26
32
|
jobName="Test All"
|
|
27
|
-
jobCheck=(obj sha="${{ inputs.check-sha }}")
|
|
33
|
+
jobCheck=(obj sha="${{ inputs.check-sha }}" if="inputs.check-sha")
|
|
28
34
|
jobCheckout=(obj ref="${{ inputs.ref }}")
|
|
29
35
|
}}
|
|
30
36
|
{{> stepTest jobRunFlags=allFlags }}
|
package/lib/content/index.js
CHANGED
|
@@ -48,7 +48,7 @@ jobs:
|
|
|
48
48
|
if [[ "$\{{ steps.metadata.outputs.update-type }}" == "version-update:semver-major" ]]; then
|
|
49
49
|
prefix='feat!'
|
|
50
50
|
else
|
|
51
|
-
prefix='chore
|
|
51
|
+
prefix='chore'
|
|
52
52
|
fi
|
|
53
53
|
echo "::set-output name=message::$prefix: postinstall for dependabot template-oss PR"
|
|
54
54
|
|
package/lib/content/release.yml
CHANGED