File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 1+ name : publish
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ publish :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v1
12+ - uses : actions/setup-node@v1
13+ with :
14+ node-version : 12
15+ registry-url : https://registry.npmjs.org/
16+ - run : npm install
17+ - run : npm run build
18+ - run : npm run publish
19+ env :
20+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change 11{
2- "name" : " stripe- gradient" ,
2+ "name" : " @bedard/ gradient" ,
33 "version" : " 0.1.0" ,
44 "browser" : " dist/gradient.umd.js" ,
55 "main" : " dist/gradient.cjs.js" ,
1818 },
1919 "files" : [
2020 " dist"
21- ]
21+ ],
22+ "repository" : {
23+ "type" : " git" ,
24+ "url" : " git+https://github.com/scottbedard/gradient.git"
25+ },
26+ "bugs" : {
27+ "url" : " https://github.com/scottbedard/gradient/issues"
28+ },
29+ "homepage" : " https://github.com/scottbedard/gradient#readme"
2230}
You can’t perform that action at this time.
0 commit comments