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.
2 parents 0e58e8c + 1c33994 commit a8c359eCopy full SHA for a8c359e
.github/workflows/lint-test.yaml
@@ -0,0 +1,38 @@
1
+name: 'Lint and Test'
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches:
7
+ - master
8
+ - github_actions
9
+ pull_request:
10
11
+jobs:
12
+ lint-test:
13
+ runs-on: ubuntu-latest
14
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ nodejs_version: [ "8.10", 10, 12 ]
19
20
+ steps:
21
+ - name: Checkout
22
+ uses: actions/checkout@v3
23
24
+ - name: Setup Node.js
25
+ uses: actions/setup-node@v3
26
+ with:
27
+ node-version: ${{ matrix.nodejs_version }}
28
29
+ - run: node --version && npm --version
30
31
+ - run: npm install
32
33
+ - run: npm run lint
34
35
+ - run: npm run test
36
37
+ # Requires setting up Coveralls access token
38
+ # - run: npm run check-coverage && (cat ./coverage/lcov.info | ./node_modules/.bin/coveralls)
0 commit comments