File tree 2 files changed +25
-2
lines changed
2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish Package to npmjs
2
+ on :
3
+ release :
4
+ types : [created]
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v3
10
+ # Setup .npmrc file to publish to npm
11
+ - uses : actions/setup-node@v3
12
+ with :
13
+ node-version : " 16.x"
14
+ registry-url : " https://registry.npmjs.org"
15
+ - name : Install Dependencies
16
+ run : yarn install --frozen-lockfile
17
+ # Writes token to .yarnrc.yml
18
+ - name : Setup NPM auth token
19
+ run : |
20
+ echo npmAuthToken: "${NODE_AUTH_TOKEN}" >> ./.yarnrc.yml
21
+ env :
22
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
23
+ - run : yarn publish
Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 0.1.10 " ,
2
+ "version" : " 0.2.0 " ,
3
3
"name" : " trino-client" ,
4
4
"description" : " Trino client library" ,
5
5
"author" : {
50
50
"test:lint" : " eslint ." ,
51
51
"publish" : " yarn build && yarn npm publish"
52
52
}
53
- }
53
+ }
You can’t perform that action at this time.
0 commit comments