File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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@v3
15+
16+ - name : Use Node.js
17+ uses : actions/setup-node@v3
18+ with :
19+ node-version : ' 18.x'
20+ registry-url : ' https://registry.npmjs.org'
21+
22+ - name : Install dependencies
23+ run : npm ci
24+
25+ - name : Build
26+ run : npm run build
Original file line number Diff line number Diff line change 1+ name : Publish to NPM
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v3
12+ - uses : actions/setup-node@v3
13+ with :
14+ node-version : ' 18.x'
15+ registry-url : ' https://registry.npmjs.org'
16+ - run : npm ci
17+ - run : npm run build
18+ - run : npm publish
19+ env :
20+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 66
77[ ![ npm version] ( https://img.shields.io/npm/v/react-scroll-media.svg )] ( https://www.npmjs.com/package/react-scroll-media )
88[ ![ npm downloads] ( https://img.shields.io/npm/dm/react-scroll-media.svg )] ( https://www.npmjs.com/package/react-scroll-media )
9- [ ![ bundle size] ( https://img.shields.io/bundlephobia/minzip/ react-scroll-media )] ( https://bundlephobia .com/package/ react-scroll-media )
9+ [ ![ package size] ( https://packagephobia.com/badge?p= react-scroll-media )] ( https://packagephobia .com/result?p= react-scroll-media )
1010[ ![ license] ( https://img.shields.io/npm/l/react-scroll-media.svg )] ( https://github.com/yourusername/react-scroll-media/blob/main/LICENSE )
1111
1212* Zero scroll-jacking • Pure sticky positioning • 60fps performance*
Original file line number Diff line number Diff line change 11{
22 "name" : " react-scroll-media" ,
3- "version" : " 1.0.2 " ,
3+ "version" : " 1.0.3 " ,
44 "description" : " Production-ready scroll-driven image sequence rendering component for React" ,
55 "license" : " MIT" ,
66 "author" : " Thanniru Sai Teja" ,
You can’t perform that action at this time.
0 commit comments