Skip to content

Commit 64343e3

Browse files
casperdcl0x2b3bfa0
andauthored
update to NodeJS==16 (#783)
Co-authored-by: Helio Machado <[email protected]>
1 parent 30919bf commit 64343e3

File tree

6 files changed

+10201
-4374
lines changed

6 files changed

+10201
-4374
lines changed

.eslintrc.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ module.exports = {
22
env: {
33
browser: true,
44
commonjs: true,
5-
es6: true
5+
es6: true,
6+
jest: true
67
},
78
extends: ['standard', 'prettier'],
89
globals: {
@@ -17,8 +18,5 @@ module.exports = {
1718
camelcase: [1, { properties: 'never' }],
1819
'prettier/prettier': 'error'
1920
},
20-
plugins: ['prettier'],
21-
env: {
22-
jest: true
23-
}
21+
plugins: ['prettier']
2422
};

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ ENV LC_ALL="en_US.UTF-8"
3939
# INSTALL NODE, GIT & GO
4040
RUN add-apt-repository ppa:git-core/ppa --yes \
4141
&& add-apt-repository ppa:longsleep/golang-backports --yes \
42-
&& curl --location https://deb.nodesource.com/setup_12.x | bash \
42+
&& curl --location https://deb.nodesource.com/setup_16.x | bash \
4343
&& apt-get update \
4444
&& apt-get install --yes git golang-go nodejs \
4545
&& apt-get clean \

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
# may need to setup NodeJS & Python3 on e.g. self-hosted
8989
# - uses: actions/setup-node@v2
9090
# with:
91-
# node-version: '12'
91+
# node-version: '16'
9292
# - uses: actions/setup-python@v2
9393
# with:
9494
# python-version: '3.x'
@@ -600,7 +600,7 @@ CML and Vega-Lite package installation require the NodeJS package manager
600600
```bash
601601
uses: actions/setup-node@v2
602602
with:
603-
node-version: '12'
603+
node-version: '16'
604604
```
605605

606606
- **GitLab**: Requires direct installation.

0 commit comments

Comments
 (0)