File tree 4 files changed +23
-3
lines changed
4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 1
- name : PR Action
1
+ name : CI Tests
2
2
3
3
on :
4
4
pull_request :
Original file line number Diff line number Diff line change
1
+ name : Publish on NPM
2
+
3
+ on :
4
+ release :
5
+ types : [created]
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - uses : actions/setup-node@v1
13
+ with :
14
+ node-version : 12
15
+ registry-url : ' https://registry.npmjs.org'
16
+ - run : yarn install --frozen-lockfile
17
+ - run : yarn publish
18
+ env :
19
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 3
3
<h3 align =" center " >~700B React Click Away Listener</h3 >
4
4
<p align =" center " >
5
5
<a href =" https://www.npmjs.org/package/react-click-away-listener " ><img src =" https://img.shields.io/npm/v/react-click-away-listener.svg?style=flat-square " alt =" npm " ></a >
6
- <a href =' https://coveralls.io/github/ooade/react-click-away-listener?branch=master ' ><img src =' https://coveralls.io/repos/github/ooade/react-click-away-listener/badge.svg?branch=master ' alt =' Coverage Status ' /></a >
6
+ <a href =" https://coveralls.io/github/ooade/react-click-away-listener?branch=master " ><img src =" https://coveralls.io/repos/github/ooade/react-click-away-listener/badge.svg?branch=master " alt =" Coverage Status " /></a >
7
+ <a href =" https://github.com/ooade/react-click-away-listener/blob/main/.github/workflows/build-test-code.yml " ><img src =" https://github.com/ooade/react-click-away-listener/workflows/CI%20Tests/badge.svg " alt =" CI Tests " /></a >
7
8
<a href =" https://www.npmjs.org/package/react-click-away-listener " ><img src =" https://img.shields.io/npm/dm/react-click-away-listener.svg?style=flat-square " alt =" downloads/month " ></a >
8
9
<a href =" http://makeapullrequest.com " ><img src =" https://img.shields.io/badge/PR(s)-welcome-brightgreen.svg?style=flat-square " alt =" pullrequest " ></a >
9
10
<a href =" http://www.firsttimersonly.com " ><img src =" https://img.shields.io/badge/first--timers--only-friendly-blue.svg?style=flat-square " alt =" firsttimersonly " ></a >
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-click-away-listener" ,
3
- "version" : " 1.5.0 " ,
3
+ "version" : " 1.5.1 " ,
4
4
"description" : " A simple click away listener built with React Hooks" ,
5
5
"main" : " dist/react-click-away-listener.js" ,
6
6
"module" : " dist/react-click-away-listener.es.js" ,
You can’t perform that action at this time.
0 commit comments