Skip to content

Commit

Permalink
ci: --package-name value changed ** -> *
Browse files Browse the repository at this point in the history
  • Loading branch information
deot committed Sep 7, 2023
1 parent 54c934e commit 02dc00a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- '**'
pull_request:
branches:
- main'
- main
workflow_dispatch:

permissions:
Expand All @@ -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
Expand All @@ -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

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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]

Expand Down
2 changes: 1 addition & 1 deletion packages/components/button/examples/index.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<Button />
</template>
<script lang="tsx" setup>
<script lang="ts" setup>
import { Button } from '..';
</script>

0 comments on commit 02dc00a

Please sign in to comment.