File tree Expand file tree Collapse file tree 2 files changed +45
-2
lines changed Expand file tree Collapse file tree 2 files changed +45
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*.*.*"
7+
8+ jobs :
9+ npm :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : read
13+ id-token : write
14+ steps :
15+ - uses : actions/checkout@v5
16+ - uses : actions/setup-node@v4
17+ with :
18+ node-version : ' 20.x'
19+ registry-url : ' https://registry.npmjs.org'
20+ - run : npm ci
21+ - run : npm publish --provenance --access public
22+ env :
23+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
24+
25+ github :
26+ runs-on : ubuntu-latest
27+ permissions :
28+ contents : read
29+ packages : write
30+ steps :
31+ - uses : actions/checkout@v5
32+ - uses : actions/setup-node@v4
33+ with :
34+ node-version : ' 20.x'
35+ registry-url : ' https://npm.pkg.github.com'
36+ - run : npm ci
37+ - run : npm publish
38+ env :
39+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " highlightjs-rascript" ,
3- "version" : " 0.0.0 " ,
3+ "version" : " 0.0.1 " ,
44 "description" : " highlight.js syntax definition for RATools DSL, RAScript" ,
55 "main" : " src/languages/rascript.js" ,
66 "scripts" : {
77 "test" : " echo \" Error: no test specified\" && exit 1"
88 },
99 "repository" : {
1010 "type" : " git" ,
11- "url" : " git+ https://github.com/joshraphael/highlightjs-rascript.git"
11+ "url" : " https://github.com/joshraphael/highlightjs-rascript.git"
1212 },
1313 "keywords" : [
1414 " rascript" ,
1717 " highlightjs" ,
1818 " syntax"
1919 ],
20+ "files" : [
21+ " dist" ,
22+ " src"
23+ ],
2024 "author" : " Joshua Raphael" ,
2125 "license" : " MIT" ,
2226 "bugs" : {
You can’t perform that action at this time.
0 commit comments