Skip to content

Commit 1abf106

Browse files
committed
chore: cleanup workflows
1 parent 80a335a commit 1abf106

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/npm_release.yml renamed to .github/workflows/npm_release_cli.yml

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: 'nativescript -> npm'
33
on:
44
push:
55
branches: [ 'master' ]
6+
paths-ignore:
7+
- 'packages/**'
68
workflow_dispatch:
79

810
env:

packages/doctor/.github/workflows/npm_release.yml renamed to .github/workflows/npm_release_doctor.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ name: '@nativescript/doctor -> npm'
33
on:
44
push:
55
branches: [ 'master' ]
6+
paths:
7+
- 'packages/doctor'
8+
workflow_dispatch:
9+
10+
defaults:
11+
run:
12+
working-directory: packages/doctor
613

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

0 commit comments

Comments
 (0)