Skip to content

Commit 4011384

Browse files
authored
Merge pull request #1519 from Azure/antmarti/node14
Declare dependency on node 14
2 parents 1c6cc27 + 886378b commit 4011384

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/autogenerateBatch0.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup Node.js
3737
uses: actions/setup-node@v2.1.2
3838
with:
39-
node-version: 10.x
39+
node-version: 14.x
4040

4141
- name: Install packages
4242
run: npm install

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup Node.js
1414
uses: actions/setup-node@v2.1.2
1515
with:
16-
node-version: 10.x
16+
node-version: 14.x
1717

1818
- name: GitHub context (actor and head ref)
1919
run: |
@@ -40,7 +40,7 @@ jobs:
4040
- name: Setup Node.js
4141
uses: actions/setup-node@v2.1.2
4242
with:
43-
node-version: 10.x
43+
node-version: 14.x
4444

4545
- name: Install NPM modules
4646
run: npm ci

generator/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"name": "azure-schema-generator",
33
"private": true,
44
"version": "1.0.0",
5+
"engines": {
6+
"node": ">=14.0.0",
7+
"npm": ">=6.0.0"
8+
},
59
"scripts": {
610
"list-basepaths": "ts-node cmd/listbasepaths",
711
"list-resources": "ts-node cmd/listresources",

0 commit comments

Comments
 (0)