File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,12 +5,19 @@ on: push
55jobs :
66 publish :
77 runs-on : ubuntu-latest
8+
9+ environment : production
10+
11+ permissions :
12+ contents : read
13+ id-token : write # For OIDC
14+
815 steps :
9- - uses : actions/checkout@v1
10- - uses : actions/setup-node@v1
11- with :
12- node-version : 10
13- - uses : JS-DevTools/npm-publish@v1
14- with :
15- token : ${{ secrets.NPM_TOKEN }}
16+ - uses : actions/checkout@v6
1617
18+ - uses : actions/setup-node@v6
19+ with :
20+ node-version : ' 24'
21+ registry-url : ' https://registry.npmjs.org'
22+ - run : npm install
23+ - run : npm publish --provenance
Original file line number Diff line number Diff line change 11{
22 "name" : " @md-reader/theme" ,
3- "version" : " 2.0.3 " ,
3+ "version" : " 2.0.4 " ,
44 "description" : " Markdown Reader's theme." ,
55 "main" : " src/index.less" ,
66 "repository" : {
You can’t perform that action at this time.
0 commit comments