Skip to content

Commit

Permalink
build(global): add deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
vajahath committed Dec 29, 2019
1 parent f0a6d8a commit 31cf9a0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/Deploy._yml__ → .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ jobs:
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm run rescope @tsnp_npm_scope
- run: ls && npm publish --access=public
- run: npm test
- run: npm run rescope vaju
working-directory: ./generator
- run: ls && npm publish --tag=next --access=public
working-directory: ./generator
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand All @@ -37,7 +40,10 @@ jobs:
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm run rescope @tsnp_github_scope
- run: ls && npm publish
- run: npm test
- run: npm run rescope vajahath
working-directory: ./generator
- run: ls && npm publish --tag=next
working-directory: ./generator
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Yet another yeoman generator for building npm modules with typescript.

![](https://github.com/vajahath/generator-ts-np/workflows/Build/badge.svg) [![Greenkeeper badge](https://badges.greenkeeper.io/vajahath/generator-ts-np.svg)](https://greenkeeper.io/)
![](https://github.com/vajahath/generator-ts-np/workflows/Build/badge.svg) ![](https://github.com/vajahath/generator-ts-np/workflows/Deploy/badge.svg) [![Greenkeeper badge](https://badges.greenkeeper.io/vajahath/generator-ts-np.svg)](https://greenkeeper.io/)


> This package is currently in beta.
Expand Down

0 comments on commit 31cf9a0

Please sign in to comment.