Skip to content

Commit

Permalink
chore: simply to test the release
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin committed Aug 14, 2024
1 parent 94f83de commit 5066db5
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/publish-commit.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: Publish Any Commit

on:
push:
branches:
- main
issue_comment:
types: [created]
push: {}
#on:

Check failure on line 4 in .github/workflows/publish-commit.yml

View workflow job for this annotation

GitHub Actions / build (18.x)

Expected space after '#' in comment

Check failure on line 4 in .github/workflows/publish-commit.yml

View workflow job for this annotation

GitHub Actions / build (lts/*)

Expected space after '#' in comment
# 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'))

Check failure on line 13 in .github/workflows/publish-commit.yml

View workflow job for this annotation

GitHub Actions / build (18.x)

Expected indentation of 4 spaces but found 0 spaces

Check failure on line 13 in .github/workflows/publish-commit.yml

View workflow job for this annotation

GitHub Actions / build (lts/*)

Expected indentation of 4 spaces but found 0 spaces
runs-on: ubuntu-latest

steps:
Expand All @@ -23,7 +24,8 @@ jobs:
run: pnpm install

- name: Build
working-directory: .
# working-directory: .

Check failure on line 27 in .github/workflows/publish-commit.yml

View workflow job for this annotation

GitHub Actions / build (18.x)

Expected indentation of 8 spaces but found 0 spaces

Check failure on line 27 in .github/workflows/publish-commit.yml

View workflow job for this annotation

GitHub Actions / build (lts/*)

Expected indentation of 8 spaces but found 0 spaces
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 .

0 comments on commit 5066db5

Please sign in to comment.