We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fad1ec9 commit 2fde960Copy full SHA for 2fde960
.github/workflows/ci.yml
@@ -0,0 +1,26 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ eslint:
11
12
+ runs-on: ubuntu-latest
13
14
+ strategy:
15
+ matrix:
16
+ node-version: [12.x, 14.x]
17
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+ - name: Use Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v1
22
+ with:
23
+ node-version: ${{ matrix.node-version }}
24
+ - run: npm ci
25
+ - run: npm run eslint
26
package.json
@@ -5,6 +5,7 @@
"main": "lib/main.js",
"type": "module",
"scripts": {
+ "eslint": "eslint lib/",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
0 commit comments