Skip to content

Commit

Permalink
Upgrade Node to v14.11
Browse files Browse the repository at this point in the history
Changes:

- `package.json` field `engines.node` - added, did not previously exist
- `.nvmrc` - created
- `.circleci/config.yml` Docker image for `container_config_node` - Docker updated, previously: `circleci/node:8-browsers`
  • Loading branch information
andygout committed Sep 23, 2020
1 parent 13fcbf5 commit c0f20fd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

references:

container_config_node8: &container_config_node8
container_config_node14: &container_config_node14
working_directory: ~/project/build
docker:
- image: circleci/node:8-browsers
- image: circleci/node:14-browsers

workspace_root: &workspace_root
~/project
Expand Down Expand Up @@ -55,7 +55,7 @@ version: 2
jobs:

build:
<<: *container_config_node8
<<: *container_config_node14
steps:
- checkout
- run:
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
- build

test:
<<: *container_config_node8
<<: *container_config_node14
steps:
- *attach_workspace
- run:
Expand All @@ -104,7 +104,7 @@ jobs:
destination: test-results

publish:
<<: *container_config_node8
<<: *container_config_node14
steps:
- *attach_workspace
- run:
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14.11
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@
"prepush": "make verify -j3",
"commitmsg": "node_modules/.bin/secret-squirrel-commitmsg",
"prepare": "npx snyk protect || npx snyk protect -d || true"
},
"engines": {
"node": "14.x"
}
}

0 comments on commit c0f20fd

Please sign in to comment.