Skip to content

Commit e0b650b

Browse files
authored
Merge pull request #4 from G-Rath/drop-node-8-support
feat: drop node 8 support
2 parents 4677fdb + 369aed3 commit e0b650b

File tree

9 files changed

+5473
-3920
lines changed

9 files changed

+5473
-3920
lines changed

.github/workflows/checks.yaml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ jobs:
2222
with:
2323
fetch-depth: 0
2424
- name: Commit Linter
25-
uses: wagoid/commitlint-github-action@v1.3.1
25+
uses: wagoid/commitlint-github-action@v2
2626
with:
2727
configFile: './package.json'
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3028

3129
test-node:
3230
name:
@@ -35,26 +33,22 @@ jobs:
3533
strategy:
3634
fail-fast: false
3735
matrix:
38-
node-version: [8.x, 10.x, 12.x, 13.x, 14.x]
36+
node-version: [10.x, 12.x, 13.x, 14.x]
3937
eslint-version: [6, 7]
40-
exclude:
41-
# eslint@7 doesn't support node@8
42-
- node-version: 8.x
43-
eslint-version: 7
4438
runs-on: ubuntu-latest
4539

4640
steps:
4741
- uses: actions/checkout@v2
4842
- name: Use Node.js ${{ matrix.node-version }}
49-
uses: actions/setup-node@v1
43+
uses: actions/setup-node@v2-beta
5044
with:
5145
node-version: ${{ matrix.node-version }}
5246
- name: install with eslint v${{matrix.eslint-version }}
5347
run: |
5448
npm ci
5549
npm install -D eslint@${{matrix.eslint-version }}
56-
- name: prettylint
57-
run: npm run prettylint
50+
- name: prettier
51+
run: npm run prettier:check
5852
- name: typecheck
5953
run: npm run typecheck
6054
- name: test
@@ -72,13 +66,13 @@ jobs:
7266

7367
steps:
7468
- uses: actions/checkout@v2
75-
- uses: actions/setup-node@v1
69+
- uses: actions/setup-node@v2-beta
7670
with:
7771
node-version: 12.x
7872
- name: install
7973
run: npm ci
80-
- name: prettylint
81-
run: npm run prettylint
74+
- name: prettier
75+
run: npm run prettier:check
8276
- name: typecheck
8377
run: npm run typecheck
8478
- name: test

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v2
17-
- uses: actions/setup-node@v1
17+
- uses: actions/setup-node@v2-beta
1818
with:
1919
node-version: '12.x'
2020

21-
- uses: actions/cache@v1
21+
- uses: actions/cache@v2
2222
with:
2323
path: ~/.npm
2424
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -27,8 +27,8 @@ jobs:
2727
2828
- name: install
2929
run: npm ci
30-
- name: prettylint
31-
run: npm run prettylint
30+
- name: prettier
31+
run: npm run prettier:check
3232
- name: typecheck
3333
run: npm run typecheck
3434
- name: test

0 commit comments

Comments
 (0)