diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index f6abff7..fd81db0 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -1,8 +1,10 @@ +name: release-please + on: push: branches: - main -name: release-please + jobs: release-please: runs-on: ubuntu-latest @@ -17,9 +19,6 @@ jobs: if: ${{ steps.release.outputs.release_created }} - uses: ./.github/actions/build if: ${{ steps.release.outputs.release_created }} - - - run: pnpm test - if: ${{ steps.release.outputs.release_created }} - run: pnpm publish if: ${{ steps.release.outputs.release_created }} env: diff --git a/package.json b/package.json index 0b55a81..69cef26 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ ], "scripts": { "clean": "rm -rf ./dist", - "prepublishOnly": "run-s clean build test", + "prepublishOnly": "run-s clean compile test", "build": "run-s compile demo", "compile": "tsc", "compile:watch": "tsc -w",