File tree Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Expand file tree Collapse file tree 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
22
33on :
44 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 33 <h3 align =" center " >~700B React Click Away Listener</h3 >
44 <p align =" center " >
55 <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 >
78 <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 >
89 <a href =" http://makeapullrequest.com " ><img src =" https://img.shields.io/badge/PR(s)-welcome-brightgreen.svg?style=flat-square " alt =" pullrequest " ></a >
910 <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 11{
22 "name" : " react-click-away-listener" ,
3- "version" : " 1.5.0 " ,
3+ "version" : " 1.5.1 " ,
44 "description" : " A simple click away listener built with React Hooks" ,
55 "main" : " dist/react-click-away-listener.js" ,
66 "module" : " dist/react-click-away-listener.es.js" ,
You can’t perform that action at this time.
0 commit comments