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 9b84418 commit bb74281Copy full SHA for bb74281
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,45 @@
1
+name: main
2
+on: [push, pull_request]
3
+jobs:
4
+ build-and-test:
5
+ strategy:
6
+ matrix:
7
+ node:
8
+ - '10'
9
+ - '12'
10
+ - '14'
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout repo
14
+ uses: actions/checkout@v2
15
+
16
+ - name: Setup node
17
+ uses: actions/setup-node@v1
18
+ with:
19
+ node-version: ${{ matrix.node }}
20
21
+ - name: Download deps
22
+ uses: bahmutov/npm-install@v1
23
24
+ - name: Build sources
25
+ run: npm run build
26
27
+ - name: Run tests
28
+ run: npm run test
29
30
+ lint:
31
32
33
34
35
36
37
38
39
+ node-version: '14.x'
40
41
42
43
44
+ - name: Run lint
45
+ run: npm run lint
0 commit comments