diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 72d4743..6cb619f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ name: CI on: - [push, pull_request] + [push, pull_request, workflow_call] jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a6b295b..158420d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,8 +10,7 @@ jobs: matrix: node-version: [18.x] steps: - - name: Checkout code - uses: actions/checkout@v3 + - uses: actions/checkout@v3 - uses: ./.github/workflows/build.yml@main - name: Deploy package if: github.ref == 'refs/heads/main'