We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
gustavohenke
paescuj
Learn more about funding links in repositories.
Report abuse
1 parent 10ff00c commit fe5c01cCopy full SHA for fe5c01c
.github/workflows/test.yml
@@ -0,0 +1,36 @@
1
+name: Tests
2
+on: [push, pull_request]
3
+env:
4
+ CI: true
5
+
6
+jobs:
7
+ run:
8
+ name: Node ${{ matrix.node }} on ${{ matrix.os }}
9
+ runs-on: ${{ matrix.os }}
10
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ node: [12, 14, 15]
15
+ os: [ubuntu-latest, windows-latest, macOS-latest]
16
17
+ steps:
18
+ - name: Clone repository
19
+ uses: actions/checkout@v1
20
21
+ - name: Set Node.js version
22
+ uses: actions/setup-node@v1
23
+ with:
24
+ node-version: ${{ matrix.node }}
25
26
+ - run: node --version
27
+ - run: npm --version
28
29
+ - name: Install npm dependencies
30
+ run: npm ci
31
32
+ - name: Run tests
33
+ run: npm test
34
+ shell: bash
35
+ env:
36
+ SHELL: "/bin/bash"
0 commit comments