build(packaging): Update nodejs and npm versions
This commit is contained in:
Родитель
c69726a24b
Коммит
e0017e9cad
|
@ -7,7 +7,7 @@
|
|||
"args": {
|
||||
// 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
|
||||
"NODE_VERSION": "14",
|
||||
"NODE_VERSION": "16",
|
||||
"CORE_TOOLS_VERSION": "4"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -33,10 +33,10 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: main
|
||||
- name: Use Node.js 14.x
|
||||
- name: Use Node.js 16.x
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 14.x
|
||||
node-version: 16.x
|
||||
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
|
|
|
@ -101,10 +101,10 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js 14.x
|
||||
- name: Use Node.js 16.x
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 14.x
|
||||
node-version: 16.x
|
||||
|
||||
- run: npm ci
|
||||
- run: npm version prerelease --preid=ci-$GITHUB_RUN_ID --no-git-tag-version
|
||||
|
|
2
.nvmrc
2
.nvmrc
|
@ -1 +1 @@
|
|||
14
|
||||
16
|
||||
|
|
Загрузка…
Ссылка в новой задаче