File tree Expand file tree Collapse file tree 2 files changed +22
-22
lines changed Expand file tree Collapse file tree 2 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -17,30 +17,30 @@ jobs:
1717 - run : yarn test --coverage
1818 - run : yarn build
1919
20- # publish-gpr:
21- # needs: build
22- # runs-on: ubuntu-latest
23- # permissions:
24- # packages: write
25- # contents: read
26- # steps:
27- # - uses: actions/checkout@v2
28- # - uses: actions/setup-node@v2
29- # with:
30- # node-version: 16
31- # registry-url: https://npm.pkg.github.com/
20+ publish-gpr :
21+ needs : build
22+ runs-on : ubuntu-latest
23+ permissions :
24+ packages : write
25+ contents : read
26+ steps :
27+ - uses : actions/checkout@v2
28+ - uses : actions/setup-node@v2
29+ with :
30+ node-version : 16
31+ registry-url : https://npm.pkg.github.com/
3232
33- # - name: Github ref check
34- # run: echo "Deploying to production server on branch $GITHUB_REF"
33+ - name : Github ref check
34+ run : echo "Deploying to production server on branch $GITHUB_REF"
3535
36- # - name: Install npm dependencies
37- # run: yarn install
36+ - name : Install npm dependencies
37+ run : yarn install
3838
39- # - name: Publish tag to npm
40- # if: contains(github.ref, 'tags')
41- # run: yarn publish --new-version "${GITHUB_REF:11}" --access public --no-git-tag-version
42- # env:
43- # NODE_AUTH_TOKEN: ${{ secrets.GH_AUTH_TOKEN }}
39+ - name : Publish tag to npm
40+ if : contains(github.ref, 'tags')
41+ run : yarn publish --new-version "${GITHUB_REF:11}" --access public --no-git-tag-version
42+ env :
43+ NODE_AUTH_TOKEN : ${{ secrets.GH_AUTH_TOKEN }}
4444
4545 publish-npm :
4646 needs : build
Original file line number Diff line number Diff line change 11{
2- "name" : " @coderstm /vue-number-format" ,
2+ "name" : " @coders-tm /vue-number-format" ,
33 "version" : " 1.0.0" ,
44 "private" : false ,
55 "description" : " Easy formatted numbers, currency and percentage with input/directive mask for Vue.js" ,
You can’t perform that action at this time.
0 commit comments