diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72e5075..2b488fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ on: - '**' pull_request: branches: - - main' + - main workflow_dispatch: permissions: @@ -15,7 +15,9 @@ permissions: jobs: unit-test: # let's ignore release commits, otherwise it'll try to run twice - if: ${{ !startsWith(github.event.head_commit.message , 'chore(release):') }} + if: | + !startsWith(github.event.head_commit.message , 'chore(release):') && + !startsWith(github.event.head_commit.message , 'docs') runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -41,5 +43,8 @@ jobs: - run: pnpm install - name: Run unit tests - run: npm run test -- --package-name '**' + run: npm run test -- --package-name '*' + + - name: Run build + run: npm run build diff --git a/README.md b/README.md index d0e0d80..c2aaca7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -[ci-image]: https://github.com/deot/helper/actions/workflows/ci.yml/badge.svg?branch=main -[ci-url]: https://github.com/deot/helper/actions/workflows/ci.yml +[ci-image]: https://github.com/deot/vc/actions/workflows/ci.yml/badge.svg?branch=main +[ci-url]: https://github.com/deot/vc/actions/workflows/ci.yml [![build status][ci-image]][ci-url] diff --git a/packages/components/button/examples/index.vue b/packages/components/button/examples/index.vue index d7e16d6..78f2f2f 100644 --- a/packages/components/button/examples/index.vue +++ b/packages/components/button/examples/index.vue @@ -1,7 +1,7 @@ - \ No newline at end of file