Skip to content

Commit 5c6db70

Browse files
committed
[v0.1.8] : publisher CI configured
Signed-off-by: ashish <[email protected]>
1 parent bb93a22 commit 5c6db70

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

.github/workflows/npmpublish.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ jobs:
3131
env:
3232
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
3333

34-
publish-gpr:
35-
needs: build
36-
runs-on: ubuntu-latest
37-
steps:
38-
- uses: actions/checkout@v2
39-
- uses: actions/setup-node@v1
40-
with:
41-
node-version: 12
42-
registry-url: https://npm.pkg.github.com/
43-
scope: '@codingtools/cdt'
44-
- run: npm ci
45-
- run: npm publish
46-
env:
47-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
34+
# publish-gpr:
35+
# needs: build
36+
# runs-on: ubuntu-latest
37+
# steps:
38+
# - uses: actions/checkout@v2
39+
# - uses: actions/setup-node@v1
40+
# with:
41+
# node-version: 12
42+
# registry-url: https://npm.pkg.github.com/
43+
# scope: '@codingtools/cdt'
44+
# - run: npm ci
45+
# - run: npm publish
46+
# env:
47+
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,9 @@ npm publish --access public
240240
```
241241
this will publish package to **npm** starting with updating README and publishing tarballs
242242

243-
### Creating Standalone Tarbalss
243+
> Already a Github Action is there to publish on pushing a tag.
244+
245+
### Creating Standalone Tarballs
244246

245247
```bash
246248
oclif-dev pack

0 commit comments

Comments
 (0)