Skip to content

Commit

Permalink
build!: drop support for node.js 8 (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Apr 13, 2020
1 parent 1fdd3e4 commit 06283e1
Show file tree
Hide file tree
Showing 15 changed files with 1,966 additions and 1,306 deletions.
22 changes: 11 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ workflows:
version: 2
tests:
jobs:
- node8:
filters: *release_tags
- node10:
filters: *release_tags
- node12:
filters: *release_tags
- node13:
filters: *release_tags
- lint:
filters: *release_tags
- codecov:
filters: *release_tags
- publish_npm:
requires:
- node8
- node10
- node12
- node13
- codecov
- lint
filters:
Expand All @@ -38,11 +38,6 @@ workflows:
<<: *release_tags

jobs:
node8:
docker:
- image: node:8
user: node
<<: *unit_tests
node10:
docker:
- image: node:10
Expand All @@ -53,9 +48,14 @@ jobs:
- image: node:12
user: node
<<: *unit_tests
node13:
docker:
- image: node:13
user: node
<<: *unit_tests
codecov:
docker:
- image: node:12
- image: node:13
user: node
steps:
- checkout
Expand All @@ -64,7 +64,7 @@ jobs:
- run: npm run codecov
lint:
docker:
- image: node:12
- image: node:13
user: node
steps:
- checkout
Expand All @@ -73,7 +73,7 @@ jobs:

publish_npm:
docker:
- image: node:10
- image: node:13
user: node
steps:
- checkout
Expand Down
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/node_modules
build/
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./node_modules/gts"
}
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/node_modules
build/
17 changes: 17 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

module.exports = {
...require('gts/.prettierrc.json')
}
Loading

0 comments on commit 06283e1

Please sign in to comment.