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 746b07a commit 1ff6b40Copy full SHA for 1ff6b40
.github/workflows/test.yml
@@ -0,0 +1,27 @@
1
+on:
2
+ pull_request:
3
+ push:
4
+ branches:
5
+ - master
6
+name: Test
7
+jobs:
8
+ test:
9
+ env:
10
+ working-directory: ./src
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Install Node 15.x
14
+ uses: actions/setup-node@v1
15
+ with:
16
+ node-version: 15.x
17
+ - name: Checkout code
18
+ uses: actions/checkout@v2
19
+ - name: Test and Create Coverage Data
20
+ working-directory: ${{ env.working-directory }}
21
+ run: npm ci && npm run test-coveralls
22
+ - name: Coveralls
23
+ uses: coverallsapp/github-action@v1.1.2
24
25
+ github-token: ${{ secrets.github_token }}
26
+ path-to-lcov: ${{ env.working-directory }}/coverage/lcov.info
27
+ base-path: ${{ env.working-directory }}
0 commit comments