Skip to content

Commit

Permalink
chore: cleanup workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rigor789 committed Feb 7, 2022
1 parent 80a335a commit 1abf106
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: 'nativescript -> npm'
on:
push:
branches: [ 'master' ]
paths-ignore:
- 'packages/**'
workflow_dispatch:

env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ name: '@nativescript/doctor -> npm'
on:
push:
branches: [ 'master' ]
paths:
- 'packages/doctor'
workflow_dispatch:

defaults:
run:
working-directory: packages/doctor

env:
NPM_TAG: 'next'
Expand Down Expand Up @@ -33,4 +40,4 @@ jobs:
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
echo "Publishing @nativescript/doctor@$NPM_VERSION to NPM with tag $NPM_TAG..."
npm publish nativescript-doctor-$NPM_VERSION.tgz --tag $NPM_TAG
# npm publish nativescript-doctor-$NPM_VERSION.tgz --tag $NPM_TAG

0 comments on commit 1abf106

Please sign in to comment.