From e0017e9cada848702009c99f8bf53ead58b87bf3 Mon Sep 17 00:00:00 2001 From: Devansu Date: Mon, 28 Mar 2022 10:38:13 +0000 Subject: [PATCH] build(packaging): Update nodejs and npm versions --- .devcontainer/devcontainer.json | 2 +- .github/workflows/azuresdkdrop.yml | 4 ++-- .github/workflows/node.yml | 4 ++-- .nvmrc | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index df57280f..9ea0be79 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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" } }, diff --git a/.github/workflows/azuresdkdrop.yml b/.github/workflows/azuresdkdrop.yml index bacfbe78..af45ff8f 100644 --- a/.github/workflows/azuresdkdrop.yml +++ b/.github/workflows/azuresdkdrop.yml @@ -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 diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 1a040c8b..b9945ef2 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -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 diff --git a/.nvmrc b/.nvmrc index 8351c193..b6a7d89c 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14 +16