File tree Expand file tree Collapse file tree 11 files changed +20
-48
lines changed Expand file tree Collapse file tree 11 files changed +20
-48
lines changed Original file line number Diff line number Diff line change 11name : Check Action Metadata
22
3- env :
4- # See: https://github.com/actions/setup-node/#readme
5- NODE_VERSION : 20.x
6-
73# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
84on :
95 push :
3733 - name : Setup Node.js
3834 uses : actions/setup-node@v4
3935 with :
40- node-version : ${{ env.NODE_VERSION }}
36+ node-version-file : package.json
4137
4238 - name : Install Task
4339 uses : arduino/setup-task@v2
Original file line number Diff line number Diff line change 11# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-markdown-task.md
22name : Check Markdown
33
4- env :
5- # See: https://github.com/actions/setup-node/#readme
6- NODE_VERSION : 16.x
7-
84# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
95on :
106 push :
4844 - name : Setup Node.js
4945 uses : actions/setup-node@v4
5046 with :
51- node-version : ${{ env.NODE_VERSION }}
47+ node-version-file : package.json
5248
5349 - name : Initialize markdownlint-cli problem matcher
5450 uses : xt0rted/markdownlint-problem-matcher@v3
7268 - name : Setup Node.js
7369 uses : actions/setup-node@v4
7470 with :
75- node-version : ${{ env.NODE_VERSION }}
71+ node-version-file : package.json
7672
7773 - name : Install Task
7874 uses : arduino/setup-task@v2
Original file line number Diff line number Diff line change 11# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-npm-dependencies-task.md
22name : Check npm Dependencies
33
4- env :
5- # See: https://github.com/actions/setup-node/#readme
6- NODE_VERSION : 20.x
7-
84# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
95on :
106 create :
7874 - name : Setup Node.js
7975 uses : actions/setup-node@v4
8076 with :
81- node-version : ${{ env.NODE_VERSION }}
77+ node-version-file : package.json
8278
8379 - name : Install Task
8480 uses : arduino/setup-task@v2
@@ -128,7 +124,7 @@ jobs:
128124 - name : Setup Node.js
129125 uses : actions/setup-node@v4
130126 with :
131- node-version : ${{ env.NODE_VERSION }}
127+ node-version-file : package.json
132128
133129 - name : Install Task
134130 uses : arduino/setup-task@v2
Original file line number Diff line number Diff line change 11# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-npm-task.md
22name : Check npm
33
4- env :
5- # See: https://github.com/actions/setup-node/#readme
6- NODE_VERSION : 16.x
7-
84# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
95on :
106 push :
3935 - name : Setup Node.js
4036 uses : actions/setup-node@v4
4137 with :
42- node-version : ${{ env.NODE_VERSION }}
38+ node-version-file : package.json
4339
4440 - name : Install Task
4541 uses : arduino/setup-task@v2
6056 - name : Setup Node.js
6157 uses : actions/setup-node@v4
6258 with :
63- node-version : ${{ env.NODE_VERSION }}
59+ node-version-file : package.json
6460
6561 - name : Install Task
6662 uses : arduino/setup-task@v2
Original file line number Diff line number Diff line change 11# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-prettier-formatting-task.md
22name : Check Prettier Formatting
33
4- env :
5- # See: https://github.com/actions/setup-node/#readme
6- NODE_VERSION : 20.x
7-
84# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
95on :
106 push :
@@ -213,7 +209,7 @@ jobs:
213209 - name : Setup Node.js
214210 uses : actions/setup-node@v4
215211 with :
216- node-version : ${{ env.NODE_VERSION }}
212+ node-version-file : package.json
217213
218214 - name : Install Task
219215 uses : arduino/setup-task@v2
Original file line number Diff line number Diff line change 11name : Check TypeScript Configuration
22
3- env :
4- # See: https://github.com/actions/setup-node/#readme
5- NODE_VERSION : 16.x
6-
73# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
84on :
95 push :
4541 - name : Setup Node.js
4642 uses : actions/setup-node@v4
4743 with :
48- node-version : ${{ env.NODE_VERSION }}
44+ node-version-file : package.json
4945
5046 - name : Install Task
5147 uses : arduino/setup-task@v2
Original file line number Diff line number Diff line change 11name : Check TypeScript
22
3- env :
4- # See: https://github.com/actions/setup-node/#readme
5- NODE_VERSION : 20.x
6-
73# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
84on :
95 push :
5147 - name : Setup Node.js
5248 uses : actions/setup-node@v4
5349 with :
54- node-version : ${{ env.NODE_VERSION }}
50+ node-version-file : package.json
5551
5652 - name : Install Task
5753 uses : arduino/setup-task@v2
Original file line number Diff line number Diff line change 22name : Sync Labels
33
44env :
5- # See: https://github.com/actions/setup-node/#readme
6- NODE_VERSION : 16.x
75 CONFIGURATIONS_FOLDER : .github/label-configuration-files
86 CONFIGURATIONS_ARTIFACT : label-configuration-files
97
3836 - name : Setup Node.js
3937 uses : actions/setup-node@v4
4038 with :
41- node-version : ${{ env.NODE_VERSION }}
39+ node-version-file : package.json
4240
4341 - name : Download JSON schema for labels configuration file
4442 id : download-schema
@@ -132,7 +130,7 @@ jobs:
132130 - name : Setup Node.js
133131 uses : actions/setup-node@v4
134132 with :
135- node-version : ${{ env.NODE_VERSION }}
133+ node-version-file : package.json
136134
137135 - name : Merge label configuration files
138136 run : |
Original file line number Diff line number Diff line change 11name : Test TypeScript
22
3- env :
4- # See: https://github.com/actions/setup-node/#readme
5- NODE_VERSION : 20.x
6-
73on :
84 push :
95 paths :
5450 - name : Setup Node.js
5551 uses : actions/setup-node@v4
5652 with :
57- node-version : ${{ env.NODE_VERSION }}
53+ node-version-file : package.json
5854
5955 - name : Install Task
6056 uses : arduino/setup-task@v2
7571 - name : Setup Node.js
7672 uses : actions/setup-node@v4
7773 with :
78- node-version : ${{ env.NODE_VERSION }}
74+ node-version-file : package.json
7975
8076 - name : Install Task
8177 uses : arduino/setup-task@v2
You can’t perform that action at this time.
0 commit comments