Skip to content

Commit

Permalink
CI: Upgrade node.js from v12 to v14 (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldiamant authored Oct 31, 2022
1 parent e92917c commit 22c2ae0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ commands:
<< parameters.sudo >> apt -y update
<< parameters.sudo >> apt -y install curl make git build-essential jq unzip
- node/install:
node-version: '12'
node-version: '14'
- run:
name: npm ci
command: |
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,8 @@
"example": "ts-node"
},
"author": "Algorand, llc",
"license": "MIT"
"license": "MIT",
"engines": {
"node": ">=14.0.0"
}
}
2 changes: 1 addition & 1 deletion tests/cucumber/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key
&& apt-get -qqy --no-install-recommends install google-chrome-stable firefox

# install node
RUN wget -q -O - https://deb.nodesource.com/setup_12.x | bash \
RUN wget -q -O - https://deb.nodesource.com/setup_14.x | bash \
&& apt-get -qqy --no-install-recommends install nodejs \
&& echo "node version: $(node --version)" \
&& echo "npm version: $(npm --version)"
Expand Down

0 comments on commit 22c2ae0

Please sign in to comment.