File tree Expand file tree Collapse file tree 3 files changed +38
-3
lines changed Expand file tree Collapse file tree 3 files changed +38
-3
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
+ publish :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v3
13
+ - uses : actions/setup-node@v3
14
+ with :
15
+ node-version : ' 18.x'
16
+
17
+ - name : npm install
18
+ run : make sdk-install
19
+
20
+ - run : npm run build
21
+
22
+ - name : Publish
23
+ uses : JS-DevTools/npm-publish@v1
24
+ with :
25
+ token : ${{ secrets.NPM_TOKEN }}
26
+ package : ./sdk
Original file line number Diff line number Diff line change 1
1
{
2
+ "name" : " rio-mock-sdk" ,
3
+ "version" : " 1.0.0" ,
2
4
"scripts" : {
3
5
"lint" : " eslint . --ext .ts" ,
4
6
"format" : " prettier --config .prettierrc '**/*.ts' --write" ,
5
- "test" : " jest --coverage --coverageReporter=text-summary"
7
+ "test" : " jest --coverage --coverageReporter=text-summary" ,
8
+ "build" : " npx tsc"
6
9
},
7
10
"devDependencies" : {
8
11
"@types/jest" : " ^29.5.2" ,
Original file line number Diff line number Diff line change 6
6
"forceConsistentCasingInFileNames" : true ,
7
7
"strictPropertyInitialization" : false ,
8
8
"strict" : true ,
9
- "skipLibCheck" : true
10
- }
9
+ "skipLibCheck" : true ,
10
+ "outDir" : " dist"
11
+ },
12
+ "exclude" : [
13
+ " **/*.spec.ts" ,
14
+ " **/*.test.ts" ,
15
+ " jest.config.ts"
16
+ ]
11
17
}
You can’t perform that action at this time.
0 commit comments