Skip to content

Commit 6615f32

Browse files
committed
ci: change travis and appveyor to gitlab actions
1 parent 19b59ba commit 6615f32

File tree

7 files changed

+30561
-9339
lines changed

7 files changed

+30561
-9339
lines changed

.clintonrc.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@
66
"*.{html,jpg}"
77
],
88
"rules": {
9-
"pkg-main": [
10-
"off"
11-
],
12-
"xo": [
13-
"off"
14-
]
9+
"pkg-main": "off",
10+
"ava": "off",
11+
"xo": "off",
12+
"use-travis": "off"
1513
}
1614
}

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"xo-space"
1515
],
1616
"rules": {
17-
"capitalized-comments": "off"
17+
"capitalized-comments": "off",
18+
"unicorn/no-reduce": "off"
1819
}
1920
}

.github/workflows/nodejs.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Actions Status
2+
on:
3+
pull_request:
4+
types: [opened, synchronize]
5+
branches:
6+
- master
7+
env:
8+
CI: true
9+
10+
jobs:
11+
run:
12+
name: Node ${{ matrix.node }} on ${{ matrix.os }}
13+
runs-on: ${{ matrix.os }}
14+
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
node: [10, 12, 14]
19+
os: [ubuntu-latest, windows-latest]
20+
21+
steps:
22+
- name: Clone repository
23+
uses: actions/checkout@v2
24+
25+
- name: Set Node.js version
26+
uses: actions/setup-node@v1
27+
with:
28+
node-version: ${{ matrix.node }}
29+
30+
- name: Install npm dependencies
31+
run: npm ci
32+
33+
- name: Run tests
34+
run: npm run test
35+
36+
- name: Run Coveralls
37+
uses: coverallsapp/github-action@master
38+
with:
39+
github-token: "${{ secrets.GITHUB_TOKEN }}"

.travis.yml

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

appveyor.yml

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

0 commit comments

Comments
 (0)