diff --git a/.github/workflow/publish.yml b/.github/workflow/publish.yml index 38639d9..1faafcf 100644 --- a/.github/workflow/publish.yml +++ b/.github/workflow/publish.yml @@ -1,8 +1,8 @@ name: Publish Package to GitHub Packages on: - push: - branches: - - master + # push: + # branches: + # - master workflow_dispatch: jobs: @@ -18,11 +18,13 @@ jobs: registry-url: 'https://npm.pkg.github.com' scope: '@${{ github.repository_owner }}' - - name: Bump version + - name: Configure Git run: | git config --global user.email "github-actions@users.noreply.github.com" git config --global user.name "github-actions" - npm version patch + + - name: Bump version + run: npm version patch - name: Install dependencies run: npm ci @@ -47,4 +49,4 @@ jobs: git commit -m 'ci: bump version' git push env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}