Skip to content

Commit 8b21dd8

Browse files
committed
moved package building after version updation github action
1 parent caee783 commit 8b21dd8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/update-and-publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ jobs:
3131
- name: Run tests
3232
run: npm run test
3333

34-
- name: Build Package
35-
run: npm run build
36-
3734
- name: 'Set release type : ${{ inputs.ReleaseType }}'
3835
id: release_type
3936
uses: ASzc/change-string-case-action@v5
@@ -80,11 +77,13 @@ jobs:
8077
git commit -m "Bump version from $OLD_VERSION to $NEW_VERSION"
8178
git push origin HEAD:main
8279
80+
- name: Build Package
81+
run: npm run build
82+
8383
- name: Publish package
8484
uses: JS-DevTools/npm-publish@v1
8585
with:
8686
access: 'public'
87-
dry-run: false
8887
check-version: true
8988
token: ${{ secrets.NPM_AUTH_TOKEN }}
9089
if: success()

0 commit comments

Comments
 (0)