File tree 5 files changed +2
-20
lines changed
actions/code-quality/pre-commit
5 files changed +2
-20
lines changed Original file line number Diff line number Diff line change 28
28
#
29
29
# Required Inputs:
30
30
# - python-version: Python version to use
31
- # - node-version: Node.js version to use
31
+ # - node-version: Node.js version to use (defaults to "20")
32
32
#
33
33
# Example Usage:
34
34
# steps:
35
35
# - uses: ./.github/actions/code-quality/pre-commit
36
36
# with:
37
37
# python-version: "3.11"
38
- # node-version: "20.0.0"
39
38
#
40
39
# Note: Requires configured pre-commit hooks in repository
41
40
@@ -50,7 +49,7 @@ inputs:
50
49
node-version :
51
50
description : " Node.js version to use"
52
51
required : false
53
- default : " 18.15.0 "
52
+ default : " 20 "
54
53
skip :
55
54
description : " Comma-separated list of hooks to skip"
56
55
required : false
Original file line number Diff line number Diff line change 13
13
# Process Stages:
14
14
# 1. Environment Preparation:
15
15
# - Python setup
16
- # - Node.js setup
17
16
# - Cache configuration
18
17
#
19
18
# 2. Quality Checks:
29
28
#
30
29
# Required Inputs:
31
30
# - python-version: Python version for checks (default: "3.10")
32
- # - node-version: Node.js version for checks (default: "18.15.0")
33
31
#
34
32
# Example Usage:
35
33
# 1. Default Configuration:
43
41
# uses: ./.github/workflows/_reusable-code-quality.yaml
44
42
# with:
45
43
# python-version: "3.11"
46
- # node-version: "20.0.0"
47
44
#
48
45
# Note: Requires configured pre-commit hooks in repository
49
46
56
53
description : " Python version for checks"
57
54
type : string
58
55
default : " 3.10"
59
- node-version :
60
- description : " Node.js version for checks"
61
- type : string
62
- default : " 18.15.0"
63
56
64
57
jobs :
65
58
pre-commit :
72
65
- uses : ./.github/actions/code-quality/pre-commit
73
66
with :
74
67
python-version : ${{ inputs.python-version }}
75
- node-version : ${{ inputs.node-version }}
Original file line number Diff line number Diff line change 40
40
# Required Inputs:
41
41
# - version: Version string to validate
42
42
# - python-version: Python version for building
43
- # - node-version: Node.js version for tools
44
43
# - verify-package: Whether to verify built package
45
44
# - dry-run: Run without creating artifacts
46
45
# - allow-prerelease: Allow RC versions
60
59
# with:
61
60
# version: "v1.2.3"
62
61
# python-version: "3.10"
63
- # node-version: "18.15.0"
64
62
# secrets:
65
63
# codecov-token: ${{ secrets.CODECOV_TOKEN }}
66
64
#
71
69
# with:
72
70
# version: "v1.2.3-rc1"
73
71
# python-version: "3.10"
74
- # node-version: "18.15.0"
75
72
# allow-prerelease: true
76
73
# secrets:
77
74
# codecov-token: ${{ secrets.CODECOV_TOKEN }}
90
87
python-version :
91
88
required : true
92
89
type : string
93
- node-version :
94
- required : true
95
- type : string
96
90
verify-package :
97
91
required : false
98
92
type : boolean
@@ -141,7 +135,6 @@ jobs:
141
135
uses : ./.github/workflows/_reusable-code-quality.yaml
142
136
with :
143
137
python-version : ${{ inputs.python-version }}
144
- node-version : ${{ inputs.node-version }}
145
138
146
139
tests :
147
140
needs : [version-check]
Original file line number Diff line number Diff line change 52
52
uses : ./.github/workflows/_reusable-code-quality.yaml
53
53
with :
54
54
python-version : " 3.10"
55
- node-version : " 18.15.0"
56
55
57
56
# Test suite job using reusable workflow
58
57
tests :
Original file line number Diff line number Diff line change 68
68
with :
69
69
version : ${{ github.event_name == 'push' && github.ref_name || inputs.version }}
70
70
python-version : " 3.10"
71
- node-version : " 18.15.0"
72
71
verify-package : true
73
72
dry-run : ${{ github.event.inputs.dry_run || false }}
74
73
allow-prerelease : true
You can’t perform that action at this time.
0 commit comments