File tree Expand file tree Collapse file tree 3 files changed +28
-6
lines changed
Expand file tree Collapse file tree 3 files changed +28
-6
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to NPM
2+ on :
3+ release :
4+ types : [created]
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v2
10+ # Setup .npmrc file to publish to npm
11+ - uses : actions/setup-node@v2
12+ with :
13+ node-version : ' 14.x'
14+ registry-url : ' https://registry.npmjs.org'
15+ - run : npm install
16+ - run : npm publish
17+ env :
18+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ For a full list of external dependencies please consult `package.json`.
2929
3030### NPM
3131
32- ` npm install nightfall-node-sdk `
32+ ` npm install nightfall-js `
3333
3434### Yarn
3535
36- ` yarn add nightfall-node-sdk `
36+ ` yarn add nightfall-js `
3737
3838### Building Locally
3939
Original file line number Diff line number Diff line change 11{
2- "name" : " nightfall" ,
2+ "name" : " nightfall-js " ,
33 "version" : " 1.0.0" ,
4- "description" : " " ,
4+ "description" : " Build data classification and protection into your application or service with Nightfall. " ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
77 "files" : [
1212 "prepare" : " npm run build" ,
1313 "test" : " jest --coverage"
1414 },
15- "keywords" : [],
15+ "keywords" : [
16+ " data classification" ,
17+ " security"
18+ ],
19+ "repository" : " github:nightfallai/nightfall-nodejs-sdk" ,
1620 "author" :
" Nagarjun Palavalli <[email protected] >" ,
17- "license" : " ISC " ,
21+ "license" : " MIT " ,
1822 "dependencies" : {
1923 "axios" : " ^0.21.4"
2024 },
You can’t perform that action at this time.
0 commit comments