Skip to content

Commit 2a42cf3

Browse files
committed
Add github workflows
1 parent 078d424 commit 2a42cf3

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Tests
2+
on: [ push, pull_request ]
3+
4+
env:
5+
COVERALLS_SERVICE_NUMBER: ${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}
6+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: lts/*
16+
cache: yarn
17+
- run: yarn install
18+
# - run: yarn run test
19+
- run: yarn run coveralls
20+
- name: Coveralls
21+
id: coveralls
22+
uses: coverallsapp/github-action@v2
23+

0 commit comments

Comments
 (0)