We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3e9b93 commit 1b5d515Copy full SHA for 1b5d515
.github/workflows/validation.yml
@@ -0,0 +1,37 @@
1
+name: Validation
2
+
3
+on: pull_request
4
5
+jobs:
6
+ lint:
7
+ name: Linting
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@master
11
+ - name: Use Node.js 12.x
12
+ uses: actions/setup-node@v1
13
+ with:
14
+ node-version: 12.x
15
+ - name: Install dependencies
16
+ run: |
17
+ npm install
18
+ - name: ESLint
19
+ run: npm run lint
20
21
+ test:
22
+ name: Run unit tests
23
24
25
26
27
28
29
30
31
+ run: npm install
32
+ - name: Mocha
33
+ run: npm run test --coverage
34
+ - name: Coveralls
35
+ uses: coverallsapp/[email protected]
36
37
+ github-token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments