Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Upgrade node.js from v12 to v14 #680

Merged
merged 2 commits into from
Oct 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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