Skip to content

Commit

Permalink
ci: use node 10
Browse files Browse the repository at this point in the history
  • Loading branch information
marbemac committed Jan 24, 2020
1 parent ea57fd0 commit 3c5d77c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
24 changes: 2 additions & 22 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,10 @@
version: 2

jobs:
test_node_8:
docker:
- image: circleci/node:8
steps:
- checkout
- run:
name: Download cc-test-reporter
command: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
- run: yarn
- run:
name: cc-before
command: |
./cc-test-reporter before-build
- run: yarn test.prod
- run:
name: cc-after
command: |
./cc-test-reporter after-build --coverage-input-type lcov --exit-code $?

release:
docker:
- image: circleci/node:8
- image: circleci/node:10
steps:
- checkout
- run: yarn
Expand All @@ -33,7 +13,7 @@ jobs:

workflows:
version: 2
test_and_release:
release:
jobs:
- release:
filters:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"**/*"
],
"engines": {
"node": ">=8.3.0"
"node": ">=10"
},
"scripts": {
"build": "sl-scripts build",
Expand Down

0 comments on commit 3c5d77c

Please sign in to comment.