Skip to content

Commit 7c8e67c

Browse files
committedOct 20, 2019
⚒ fix build scripts
1 parent 41ff95e commit 7c8e67c

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
 

‎.github/workflows/CI.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,30 @@ jobs:
3030
strategy:
3131
matrix:
3232
node: [12, 10, 8, 6]
33+
eslint: [6, 5]
34+
exclude:
35+
# ESLint 6 doesn't support Node 6.
36+
- node: 6
37+
eslint: 6
38+
# Run ESLint 5 on only the newest and oldest Node.
39+
- node: 10
40+
eslint: 5
41+
- node: 8
42+
eslint: 5
3343
runs-on: ubuntu-latest
3444
steps:
3545
- name: Checkout
3646
uses: actions/checkout@v1
3747
with:
3848
fetch-depth: 1
39-
- name: Install Node.js ${{ matrix.node }}
49+
- name: Install Node.js v${{ matrix.node }}
4050
uses: actions/setup-node@v1
4151
with:
4252
node-version: ${{ matrix.node }}
4353
- name: Install Packages
4454
run: npm install
55+
- name: Install ESLint v${{ matrix.eslint }}
56+
run: npm install --no-save eslint@^${{ matrix.eslint }}.0.0
4557
- name: Build
4658
run: npm run -s build
4759
- name: Test
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.