Skip to content

Commit 1be386b

Browse files
authored
Merge pull request #14 from Visual-Regression-Tracker/github-action
Create workflow.yml
2 parents b9c98cb + 52407c7 commit 1be386b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/workflow.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Setup Node.js environment
17+
uses: actions/[email protected]
18+
19+
- name: Install npm dependencies
20+
run: npm ci
21+
22+
- name: Unit tests
23+
run: npm run test:cov
24+
25+
- name: Codecov
26+
uses: codecov/[email protected]

0 commit comments

Comments
 (0)