File tree Expand file tree Collapse file tree 3 files changed +58
-22
lines changed Expand file tree Collapse file tree 3 files changed +58
-22
lines changed Original file line number Diff line number Diff line change
1
+ name : ci
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - master
8
+ pull_request :
9
+ branches :
10
+ - main
11
+ - master
12
+
13
+ jobs :
14
+ ci :
15
+ runs-on : ${{ matrix.os }}
16
+
17
+ strategy :
18
+ matrix :
19
+ os : [ubuntu-latest]
20
+ node : [14]
21
+
22
+ steps :
23
+ - name : Checkout 🛎
24
+ uses : actions/checkout@master
25
+
26
+ - name : Setup node env 🏗
27
+
28
+ with :
29
+ node-version : ${{ matrix.node }}
30
+
31
+ - name : Cache node_modules 📦
32
+
33
+ with :
34
+ path : ~/.npm
35
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
36
+ restore-keys : |
37
+ ${{ runner.os }}-node-
38
+
39
+ - name : Install dependencies 👨🏻💻
40
+ run : npm ci
41
+
42
+ - name : Run linter 👀
43
+ run : npm run lint
44
+
45
+ - name : Run tests 👀
46
+ run : npm run test
47
+
48
+ - name : Run size-limit 👀
49
+ run : npm run check-size
50
+
51
+ - name : Run tree-shaking check 👀
52
+ run : npm run tree-shake
53
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 10
10
<h5 align =" center " >⭐️ Star me on GitHub — it helps!</h5 >
11
11
12
12
<p align =" center " >
13
- <a href =" https://travis-ci.org /webistomin/favoritos " >
14
- <img src="https://travis-ci.org /webistomin/favoritos. svg?branch=master "
15
- alt="Travis CI ">
13
+ <a href =" https://github.com /webistomin/favoritos/actions/workflows/ci.yml " >
14
+ <img src="https://github.com /webistomin/favoritos/actions/workflows/ci.yml/badge. svg"
15
+ alt="GitHub Actions ">
16
16
</a >
17
17
<a href =" https://codecov.io/gh/webistomin/favoritos " >
18
18
<img src="https://codecov.io/gh/webistomin/favoritos/branch/master/graph/badge.svg" alt="codecoverage" />
28
28
29
29
<p align =" center " >
30
30
<a href =" https://www.npmjs.com/package/favoritos " ><img alt =" npm " src =" https://img.shields.io/npm/v/favoritos " /></a >
31
- <a href =" https://www.npmjs.com/package/favoritos " ><img alt =" downloads " src =" https://img.shields.io/npm/dm /favoritos " /></a >
32
- <a href =" https://www.jsdelivr.com/package/npm/favoritos " ><img alt =" jsdeliver " src =" https://data.jsdelivr.com/v1/package/ npm/favoritos/badge ?style=rounded " /></a >
31
+ <a href =" https://www.npmjs.com/package/favoritos " ><img alt =" downloads " src =" https://img.shields.io/npm/dt /favoritos " /></a >
32
+ <a href =" https://www.jsdelivr.com/package/npm/favoritos " ><img alt =" jsdeliver " src =" https://img.shields.io/jsdelivr/ npm/hy/favoritos ?style=rounded " /></a >
33
33
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
34
34
<img src =" https://img.shields.io/badge/all_contributors-1-orange.svg " alt =" contributors " >
35
35
<!-- ALL-CONTRIBUTORS-BADGE:END -->
You can’t perform that action at this time.
0 commit comments