File tree 9 files changed +15
-35
lines changed
9 files changed +15
-35
lines changed Original file line number Diff line number Diff line change 1
1
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-markdown-task.md
2
2
name : Check Markdown
3
3
4
- env :
5
- # See: https://github.com/actions/setup-node/#readme
6
- NODE_VERSION : 16.x
7
-
8
4
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
9
5
on :
10
6
create :
74
70
- name : Setup Node.js
75
71
uses : actions/setup-node@v4
76
72
with :
77
- node-version : ${{ env.NODE_VERSION }}
73
+ node-version-file : package.json
78
74
79
75
- name : Initialize markdownlint-cli problem matcher
80
76
uses : xt0rted/markdownlint-problem-matcher@v3
100
96
- name : Setup Node.js
101
97
uses : actions/setup-node@v4
102
98
with :
103
- node-version : ${{ env.NODE_VERSION }}
99
+ node-version-file : package.json
104
100
105
101
- name : Install Task
106
102
uses : arduino/setup-task@v2
Original file line number Diff line number Diff line change 1
1
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-npm-task.md
2
2
name : Check npm
3
3
4
- env :
5
- # See: https://github.com/actions/setup-node/#readme
6
- NODE_VERSION : 16.x
7
-
8
4
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
9
5
on :
10
6
push :
46
42
- name : Setup Node.js
47
43
uses : actions/setup-node@v4
48
44
with :
49
- node-version : ${{ env.NODE_VERSION }}
45
+ node-version-file : package.json
50
46
51
47
- name : Install Task
52
48
uses : arduino/setup-task@v2
78
74
- name : Setup Node.js
79
75
uses : actions/setup-node@v4
80
76
with :
81
- node-version : ${{ env.NODE_VERSION }}
77
+ node-version-file : package.json
82
78
83
79
- name : Install Task
84
80
uses : arduino/setup-task@v2
Original file line number Diff line number Diff line change 1
1
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-prettier-formatting-task.md
2
2
name : Check Prettier Formatting
3
3
4
- env :
5
- # See: https://github.com/actions/setup-node/#readme
6
- NODE_VERSION : 16.x
7
-
8
4
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
9
5
on :
10
6
push :
@@ -216,7 +212,7 @@ jobs:
216
212
- name : Setup Node.js
217
213
uses : actions/setup-node@v4
218
214
with :
219
- node-version : ${{ env.NODE_VERSION }}
215
+ node-version-file : package.json
220
216
221
217
- name : Install Task
222
218
uses : arduino/setup-task@v2
Original file line number Diff line number Diff line change 1
1
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-taskfiles.md
2
2
name : Check Taskfiles
3
3
4
- env :
5
- # See: https://github.com/actions/setup-node/#readme
6
- NODE_VERSION : 16.x
7
-
8
4
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
9
5
on :
10
6
push :
48
44
- name : Setup Node.js
49
45
uses : actions/setup-node@v4
50
46
with :
51
- node-version : ${{ env.NODE_VERSION }}
47
+ node-version-file : package.json
52
48
53
49
- name : Download JSON schema for Taskfiles
54
50
id : download-schema
Original file line number Diff line number Diff line change 1
1
# Source: https://github.com/arduino/tooling-project-assets/blob/master/workflow-templates/check-workflows-task.md
2
2
name : Check Workflows
3
3
4
- env :
5
- # See: https://github.com/actions/setup-node/#readme
6
- NODE_VERSION : 16.x
7
-
8
4
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
9
5
on :
10
6
push :
36
32
- name : Setup Node.js
37
33
uses : actions/setup-node@v4
38
34
with :
39
- node-version : ${{ env.NODE_VERSION }}
35
+ node-version-file : package.json
40
36
41
37
- name : Install Task
42
38
uses : arduino/setup-task@v2
Original file line number Diff line number Diff line change 2
2
name : Sync Labels
3
3
4
4
env :
5
- # See: https://github.com/actions/setup-node/#readme
6
- NODE_VERSION : 16.x
7
5
CONFIGURATIONS_FOLDER : .github/label-configuration-files
8
6
CONFIGURATIONS_ARTIFACT_PREFIX : label-configuration-file-
9
7
38
36
- name : Setup Node.js
39
37
uses : actions/setup-node@v4
40
38
with :
41
- node-version : ${{ env.NODE_VERSION }}
39
+ node-version-file : package.json
42
40
43
41
- name : Download JSON schema for labels configuration file
44
42
id : download-schema
@@ -133,7 +131,7 @@ jobs:
133
131
- name : Setup Node.js
134
132
uses : actions/setup-node@v4
135
133
with :
136
- node-version : ${{ env.NODE_VERSION }}
134
+ node-version-file : package.json
137
135
138
136
- name : Merge label configuration files
139
137
run : |
Original file line number Diff line number Diff line change @@ -299,10 +299,6 @@ tasks:
299
299
sh : task utility:mktemp-file TEMPLATE="stylelintrc-schema-XXXXXXXXXX.json"
300
300
INSTANCE_PATH : >-
301
301
{{default .DEFAULT_NPM_PROJECT_PATH .PROJECT_PATH}}/package.json
302
- PROJECT_FOLDER :
303
- sh : pwd
304
- WORKING_FOLDER :
305
- sh : task utility:mktemp-folder TEMPLATE="dependabot-validate-XXXXXXXXXX"
306
302
cmds :
307
303
- wget --quiet --output-document="{{.SCHEMA_PATH}}" {{.SCHEMA_URL}}
308
304
- wget --quiet --output-document="{{.AVA_SCHEMA_PATH}}" {{.AVA_SCHEMA_URL}}
Original file line number Diff line number Diff line change 6
6
"markdown-link-check" : " ^3.13.7" ,
7
7
"markdownlint-cli" : " ^0.37.0" ,
8
8
"prettier" : " ^3.5.3"
9
+ },
10
+ "engines" : {
11
+ "node" : " 16.x"
9
12
}
10
13
}
You can’t perform that action at this time.
0 commit comments