diff --git a/.github/workflows/publish-commit.yml b/.github/workflows/publish-commit.yml index e485c5e..f50c560 100644 --- a/.github/workflows/publish-commit.yml +++ b/.github/workflows/publish-commit.yml @@ -1,15 +1,16 @@ name: Publish Any Commit - on: - push: - branches: - - main - issue_comment: - types: [created] + push: {} +#on: +# push: +# branches: +# - main +# issue_comment: +# types: [created] jobs: build: - if: github.repository == 'antfu-collective/ni' && (github.event_name == 'push' || github.event.issue.pull_request && startsWith(github.event.comment.body, '/pkg-pr-new')) +# if: github.repository == 'antfu-collective/ni' && (github.event_name == 'push' || github.event.issue.pull_request && startsWith(github.event.comment.body, '/pkg-pr-new')) runs-on: ubuntu-latest steps: @@ -23,7 +24,8 @@ jobs: run: pnpm install - name: Build - working-directory: . +# working-directory: . run: pnpm build - - run: pnpm pkg-pr-new publish --compact --pnpm . + - run: pnpm pkg-pr-new publish --compact --pnpm +# - run: pnpm pkg-pr-new publish --compact --pnpm .