File tree Expand file tree Collapse file tree 2 files changed +40
-3
lines changed Expand file tree Collapse file tree 2 files changed +40
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Package to npmjs
2+ on :
3+ push :
4+ tags :
5+ - ' *'
6+
7+ jobs :
8+ publish :
9+ defaults :
10+ run :
11+ working-directory : " ./reader/ts"
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-node@v4
16+ with :
17+ node-version : ' 22.x'
18+ registry-url : ' https://registry.npmjs.org'
19+ - run : npm version from-git --git-tag-version=false
20+ - run : npm ci
21+ - run : npm run build
22+ - run : npm publish
23+ env :
24+ NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
Original file line number Diff line number Diff line change 11{
2- "name" : " code0-definition-reader" ,
2+ "name" : " @ code0-tech/ definition-reader" ,
33 "version" : " 0.0.1" ,
44 "description" : " Reader for Code0-Definitions" ,
55 "main" : " index.js" ,
6+ "types" : " index.d.ts" ,
67 "type" : " module" ,
78 "scripts" : {
8- "build" : " tsc" ,
9- "test" : " echo \" Error: no test specified\" && exit 1"
9+ "build" : " tsc"
1010 },
1111 "author" : " " ,
1212 "license" : " " ,
1313 "devDependencies" : {
1414 "@code0-tech/sagittarius-graphql-types" : " ^0.0.0-f91466f0f343596ad170e7e5c5316a70b072594d" ,
1515 "@types/node" : " ^24.1.0" ,
1616 "typescript" : " ^5.8.3"
17+ },
18+ "repository" : {
19+ "type" : " git" ,
20+ "url" : " git+https://github.com/code0-tech/code0-definitions.git"
21+ },
22+ "files" : [
23+ " src" ,
24+ " index.d.ts" ,
25+ " index.js" ,
26+ " package.json"
27+ ],
28+ "publishConfig" : {
29+ "access" : " public"
1730 }
1831}
You can’t perform that action at this time.
0 commit comments