File tree Expand file tree Collapse file tree 7 files changed +17
-29
lines changed Expand file tree Collapse file tree 7 files changed +17
-29
lines changed 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/actions/using-workflows/events-that-trigger-workflows
95on :
106 create :
7773 - name : Setup Node.js
7874 uses : actions/setup-node@v5
7975 with :
80- node-version : ${{ env.NODE_VERSION }}
76+ node-version-file : package.json
8177
8278 - name : Initialize markdownlint-cli problem matcher
8379 uses : xt0rted/markdownlint-problem-matcher@v3
@@ -105,7 +101,7 @@ jobs:
105101 - name : Setup Node.js
106102 uses : actions/setup-node@v5
107103 with :
108- node-version : ${{ env.NODE_VERSION }}
104+ node-version-file : package.json
109105
110106 - name : Install Task
111107 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 : 16.x
7-
84# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
95on :
106 create :
@@ -242,7 +238,7 @@ jobs:
242238 - name : Setup Node.js
243239 uses : actions/setup-node@v5
244240 with :
245- node-version : ${{ env.NODE_VERSION }}
241+ node-version-file : package.json
246242
247243 - name : Install Task
248244 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-taskfiles.md
22name : Check Taskfiles
33
4- env :
5- # See: https://github.com/actions/setup-node/#readme
6- NODE_VERSION : 16.x
7-
84# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
95on :
106 create :
7773 - name : Setup Node.js
7874 uses : actions/setup-node@v5
7975 with :
80- node-version : ${{ env.NODE_VERSION }}
76+ node-version-file : package.json
8177
8278 - name : Download JSON schema for Taskfiles
8379 id : download-schema
Original file line number Diff line number Diff line change 11# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-workflows-task.md
22name : Check Workflows
33
4- env :
5- # See: https://github.com/actions/setup-node/#readme
6- NODE_VERSION : 16.x
7-
84# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
95on :
106 push :
3834 - name : Setup Node.js
3935 uses : actions/setup-node@v5
4036 with :
41- node-version : ${{ env.NODE_VERSION }}
37+ node-version-file : package.json
4238
4339 - name : Install Task
4440 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/sync-labels-npm.md
22name : Sync Labels
33
4- env :
5- # See: https://github.com/actions/setup-node/#readme
6- NODE_VERSION : 16.x
7- CONFIGURATIONS_FOLDER : .github/label-configuration-files
8- CONFIGURATIONS_ARTIFACT_PREFIX : label-configuration-file-
9-
104# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
115on :
126 push :
2721 workflow_dispatch :
2822 repository_dispatch :
2923
24+ env :
25+ CONFIGURATIONS_FOLDER : .github/label-configuration-files
26+ CONFIGURATIONS_ARTIFACT_PREFIX : label-configuration-file-
27+
3028jobs :
3129 check :
3230 runs-on : ubuntu-latest
4038 - name : Setup Node.js
4139 uses : actions/setup-node@v5
4240 with :
43- node-version : ${{ env.NODE_VERSION }}
41+ node-version-file : package.json
4442
4543 - name : Download JSON schema for labels configuration file
4644 id : download-schema
@@ -138,7 +136,7 @@ jobs:
138136 - name : Setup Node.js
139137 uses : actions/setup-node@v5
140138 with :
141- node-version : ${{ env.NODE_VERSION }}
139+ node-version-file : package.json
142140
143141 - name : Merge label configuration files
144142 run : |
Original file line number Diff line number Diff line change 66 "markdown-link-check" : " ^3.13.7" ,
77 "markdownlint-cli" : " ^0.37.0" ,
88 "prettier" : " ^3.6.2"
9+ },
10+ "engines" : {
11+ "node" : " 16.x"
912 }
1013}
You can’t perform that action at this time.
0 commit comments