Skip to content

Commit cfbee15

Browse files
author
Dipak Sarkar
committed
updated code settings and documentation
1 parent d5f30dd commit cfbee15

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

.github/workflows/release-package.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff 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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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",

0 commit comments

Comments
 (0)