build(packaging): Update nodejs and npm versions
This commit is contained in:
Родитель
c69726a24b
Коммит
e0017e9cad
|
@ -7,7 +7,7 @@
|
||||||
"args": {
|
"args": {
|
||||||
// Please look at runtime version support to make sure you're using compatible versions
|
// Please look at runtime version support to make sure you're using compatible versions
|
||||||
// https://docs.microsoft.com/en-us/azure/azure-functions/supported-languages#languages-by-runtime-version
|
// https://docs.microsoft.com/en-us/azure/azure-functions/supported-languages#languages-by-runtime-version
|
||||||
"NODE_VERSION": "14",
|
"NODE_VERSION": "16",
|
||||||
"CORE_TOOLS_VERSION": "4"
|
"CORE_TOOLS_VERSION": "4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -33,10 +33,10 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: main
|
ref: main
|
||||||
- name: Use Node.js 14.x
|
- name: Use Node.js 16.x
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 16.x
|
||||||
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
|
|
@ -101,10 +101,10 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js 14.x
|
- name: Use Node.js 16.x
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 16.x
|
||||||
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm version prerelease --preid=ci-$GITHUB_RUN_ID --no-git-tag-version
|
- run: npm version prerelease --preid=ci-$GITHUB_RUN_ID --no-git-tag-version
|
||||||
|
|
2
.nvmrc
2
.nvmrc
|
@ -1 +1 @@
|
||||||
14
|
16
|
||||||
|
|
Загрузка…
Ссылка в новой задаче