File tree Expand file tree Collapse file tree 1 file changed +25
-10
lines changed Expand file tree Collapse file tree 1 file changed +25
-10
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,28 @@ jobs:
1313 node-version : [10.x]
1414
1515 steps :
16- - uses : actions/checkout@v1
17- - name : Use Node.js ${{ matrix.node-version }}
18- uses : actions/setup-node@v1
19- with :
20- node-version : ${{ matrix.node-version }}
21- - name : lets publish
22- run : |
23- echo ${GITHUB_REF##*/}
24- env :
25- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
16+ - uses : actions/checkout@v1
17+ - name : Use Node.js ${{ matrix.node-version }}
18+ uses : actions/setup-node@v1
19+ with :
20+ node-version : ${{ matrix.node-version }}
21+ registry-url : https://registry.npmjs.org/
22+ - name : commit configuration
23+ run : |
24+ git config --global user.name 'typescripttdd'
25+ git config --global user.email '[email protected] ' 26+ - name : npm install and version
27+ run : |
28+ npm install
29+ npm version ${GITHUB_REF##*/}
30+ - name : Push changes
31+ uses : ad-m/github-push-action@master
32+ with :
33+ github_token : ${{ secrets.GITHUB_TOKEN_TYPESCRIPTTDD }}
34+ - name : Publish
35+ run : |
36+ npm run preparePublish
37+ cd dist
38+ npm publish --access public
39+ env :
40+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments