From c2cc52f53a0806480a2f42f4251e1b7aa82a8843 Mon Sep 17 00:00:00 2001 From: D058266 Date: Wed, 18 Dec 2024 11:05:30 +0100 Subject: [PATCH] feat(ci): publish npm package --- .github/workflows/publish.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 60e8578..42d31db 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -2,9 +2,9 @@ name: package-release on: push: branches: - - main - paths: - - package.json + - hgw-build-release + #paths: + # - package.json # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: @@ -38,8 +38,8 @@ jobs: - name: Publish to github packages run: | set +e - # publish to https://github.com/${{ github.repository_owner }}/packages - npm publish --access=public # --dry-run + echo "publish to https://github.com/${{ github.repository_owner }}/packages" + npm publish --access=public #--dry-run if [ $? != 0 ] ; then echo "::warning title=PUBLISH::Could not publish to github. Maybe you forgot to increment the version?"