Skip to content

Commit 473069f

Browse files
Added github work flow : build.yaml
1 parent 43cceea commit 473069f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on: [pull_request, push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
12+
- name: Install node
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: '18.x'
16+
17+
- name: Install dependencies
18+
run: npm install
19+
20+
- name: Test
21+
run: npm run test
22+
23+
- name: Coveralls GitHub Action
24+
uses: coverallsapp/github-action@v2
25+
with:
26+
github-token: ${{ secrets.COVERALLS_REPO_TOKEN }}

0 commit comments

Comments
 (0)