File tree Expand file tree Collapse file tree 7 files changed +5834
-16
lines changed
Expand file tree Collapse file tree 7 files changed +5834
-16
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to npm
2+
3+ on :
4+ release :
5+ types : [created]
6+ # Or trigger on version tags:
7+ # push:
8+ # tags:
9+ # - 'v*'
10+
11+ jobs :
12+ publish :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - uses : actions/setup-node@v4
18+ with :
19+ node-version : ' 20'
20+ registry-url : ' https://registry.npmjs.org'
21+
22+ - run : npm ci
23+ - run : npm test
24+ - run : npm publish
25+ env :
26+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 103103 }
104104
105105 h2 {
106- color : var ( --text-color ) ;
106+ color : # 000000 ;
107107 font-size : 1.8rem ;
108108 margin-bottom : 20px ;
109109 padding-bottom : 10px ;
110110 border-bottom : 2px solid var (--border-color );
111111 }
112112
113113 h3 {
114- color : var ( --text-color ) ;
114+ color : # 000000 ;
115115 font-size : 1.3rem ;
116116 margin : 30px 0 15px ;
117117 }
118118
119119 h4 {
120- color : var ( --text-light ) ;
120+ color : # 000000 ;
121121 font-size : 1.1rem ;
122122 margin : 20px 0 10px ;
123123 }
Original file line number Diff line number Diff line change 1212 padding : 20px ;
1313 line-height : 1.6 ;
1414 }
15- h1 { color : # 0066cc ; }
15+ h1 { color : # 000000 ; }
16+ h2 , h3 , h4 { color : # 000000 ; }
17+ a { color : # 327bba ; }
1618 .card {
1719 background : # f8f9fa ;
1820 border : 1px solid # e1e4e8 ;
3335 }
3436 input { width : 100% ; box-sizing : border-box; }
3537 button {
36- background : # 0066cc ;
38+ background : # 327bba ;
3739 color : white;
3840 border : none;
3941 cursor : pointer;
4042 margin : 5px 5px 5px 0 ;
4143 }
42- button : hover { background : # 004d99 ; }
44+ button : hover { background : # 2a6a9e ; }
4345 button : disabled { background : # ccc ; cursor : not-allowed; }
4446 # output {
4547 background : # 1e1e1e ;
@@ -92,10 +94,8 @@ <h3>Output</h3>
9294 </ div >
9395
9496 <!-- Include the Sirv SDK -->
95- < script src ="https://unpkg.com/sirv-rest-api-js/dist/sirv.min.js "> </ script >
96-
97- <!-- For local development, use: -->
98- <!-- <script src="../dist/sirv.min.js"></script> -->
97+ <!-- For production, use: <script src="https://unpkg.com/sirv-rest-api-js/dist/sirv.min.js"></script> -->
98+ < script src ="../dist/sirv.min.js "> </ script >
9999
100100 < script >
101101 let sirv = null ;
You can’t perform that action at this time.
0 commit comments