Skip to content

Commit 53393f1

Browse files
mfilipcblanc
authored andcommitted
chore(Node): Drop explicit support for Node 8
BREAKING CHANGE: Node 8 no longer forms part of CI testing
1 parent 5c7cf1b commit 53393f1

File tree

3 files changed

+42
-55
lines changed

3 files changed

+42
-55
lines changed

.circleci/config.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
ci:
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node-version: [10.x, 12.x, 14.x]
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
22+
- name: Cache node modules
23+
uses: actions/cache@v1
24+
with:
25+
path: ~/.npm
26+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}-${{ matrix.node-version }}
27+
28+
- name: Install
29+
run: npm install
30+
31+
- name: Lint
32+
run: npm run lint
33+
34+
- name: Test
35+
run: npm run test
36+
37+
- name: Build
38+
run: npm run build
39+
40+
- name: Coverage
41+
run: npm run coverage

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"engines": {
8-
"node": ">= 8.0.0"
8+
"node": ">= 10.0.0"
99
},
1010
"dependencies": {},
1111
"prettier": {},

0 commit comments

Comments
 (0)