Skip to content

Commit

Permalink
build: upgrade node version to 16 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
woehrl01 authored Apr 17, 2022
1 parent 0d0f4ff commit ad37243
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
# ARG EXTRA_NODE_VERSION=10
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"

RUN su node -c "npm install -g npm@8"
RUN su node -c "npm install -g npm@8.7"
RUN su node -c "npm install -g tfx-cli"
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local on arm64/Apple Silicon.
"args": {
"VARIANT": "12"
"VARIANT": "16"
}
},
// Set *default* container specific settings.json values on container create.
Expand All @@ -26,4 +26,4 @@
"features": {
"github-cli": "latest"
}
}
}
8 changes: 4 additions & 4 deletions azure-pipelines.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ parameters:
steps:
- task: NodeTool@0
inputs:
versionSpec: '12.x'
displayName: 'Use Node.js@12.x'
versionSpec: '16.x'
displayName: 'Use Node.js@16.x'

- script: npm install -g npm@8
displayName: 'Use [email protected]'
- script: npm install -g npm@8.7
displayName: 'Use NPM@8.7.x'

- task: Cache@2
inputs:
Expand Down

0 comments on commit ad37243

Please sign in to comment.