File tree 11 files changed +20
-48
lines changed
11 files changed +20
-48
lines changed Original file line number Diff line number Diff line change 1
1
name : Check Action Metadata
2
2
3
- env :
4
- # See: https://github.com/actions/setup-node/#readme
5
- NODE_VERSION : 20.x
6
-
7
3
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
8
4
on :
9
5
push :
37
33
- name : Setup Node.js
38
34
uses : actions/setup-node@v4
39
35
with :
40
- node-version : ${{ env.NODE_VERSION }}
36
+ node-version-file : package.json
41
37
42
38
- name : Install Task
43
39
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-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/en/actions/reference/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 : Initialize markdownlint-cli problem matcher
54
50
uses : xt0rted/markdownlint-problem-matcher@v3
72
68
- name : Setup Node.js
73
69
uses : actions/setup-node@v4
74
70
with :
75
- node-version : ${{ env.NODE_VERSION }}
71
+ node-version-file : package.json
76
72
77
73
- name : Install Task
78
74
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-dependencies-task.md
2
2
name : Check npm Dependencies
3
3
4
- env :
5
- # See: https://github.com/actions/setup-node/#readme
6
- NODE_VERSION : 20.x
7
-
8
4
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
9
5
on :
10
6
create :
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
@@ -128,7 +124,7 @@ jobs:
128
124
- name : Setup Node.js
129
125
uses : actions/setup-node@v4
130
126
with :
131
- node-version : ${{ env.NODE_VERSION }}
127
+ node-version-file : package.json
132
128
133
129
- name : Install Task
134
130
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 :
39
35
- name : Setup Node.js
40
36
uses : actions/setup-node@v4
41
37
with :
42
- node-version : ${{ env.NODE_VERSION }}
38
+ node-version-file : package.json
43
39
44
40
- name : Install Task
45
41
uses : arduino/setup-task@v2
60
56
- name : Setup Node.js
61
57
uses : actions/setup-node@v4
62
58
with :
63
- node-version : ${{ env.NODE_VERSION }}
59
+ node-version-file : package.json
64
60
65
61
- name : Install Task
66
62
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 : 20.x
7
-
8
4
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
9
5
on :
10
6
push :
@@ -213,7 +209,7 @@ jobs:
213
209
- name : Setup Node.js
214
210
uses : actions/setup-node@v4
215
211
with :
216
- node-version : ${{ env.NODE_VERSION }}
212
+ node-version-file : package.json
217
213
218
214
- name : Install Task
219
215
uses : arduino/setup-task@v2
Original file line number Diff line number Diff line change 1
1
name : Check TypeScript Configuration
2
2
3
- env :
4
- # See: https://github.com/actions/setup-node/#readme
5
- NODE_VERSION : 16.x
6
-
7
3
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
8
4
on :
9
5
push :
45
41
- name : Setup Node.js
46
42
uses : actions/setup-node@v4
47
43
with :
48
- node-version : ${{ env.NODE_VERSION }}
44
+ node-version-file : package.json
49
45
50
46
- name : Install Task
51
47
uses : arduino/setup-task@v2
Original file line number Diff line number Diff line change 1
1
name : Check TypeScript
2
2
3
- env :
4
- # See: https://github.com/actions/setup-node/#readme
5
- NODE_VERSION : 20.x
6
-
7
3
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
8
4
on :
9
5
push :
51
47
- name : Setup Node.js
52
48
uses : actions/setup-node@v4
53
49
with :
54
- node-version : ${{ env.NODE_VERSION }}
50
+ node-version-file : package.json
55
51
56
52
- name : Install Task
57
53
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 : label-configuration-files
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
@@ -132,7 +130,7 @@ jobs:
132
130
- name : Setup Node.js
133
131
uses : actions/setup-node@v4
134
132
with :
135
- node-version : ${{ env.NODE_VERSION }}
133
+ node-version-file : package.json
136
134
137
135
- name : Merge label configuration files
138
136
run : |
Original file line number Diff line number Diff line change 1
1
name : Test TypeScript
2
2
3
- env :
4
- # See: https://github.com/actions/setup-node/#readme
5
- NODE_VERSION : 20.x
6
-
7
3
on :
8
4
push :
9
5
paths :
54
50
- name : Setup Node.js
55
51
uses : actions/setup-node@v4
56
52
with :
57
- node-version : ${{ env.NODE_VERSION }}
53
+ node-version-file : package.json
58
54
59
55
- name : Install Task
60
56
uses : arduino/setup-task@v2
75
71
- name : Setup Node.js
76
72
uses : actions/setup-node@v4
77
73
with :
78
- node-version : ${{ env.NODE_VERSION }}
74
+ node-version-file : package.json
79
75
80
76
- name : Install Task
81
77
uses : arduino/setup-task@v2
Original file line number Diff line number Diff line change 46
46
"strip-json-comments-cli" : " ^3.0.0" ,
47
47
"ts-jest" : " ^28.0.8" ,
48
48
"typescript" : " ^5.5.4"
49
+ },
50
+ "engines" : {
51
+ "node" : " 20.x"
49
52
}
50
53
}
You can’t perform that action at this time.
0 commit comments