diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 779812c..77727af 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -37,7 +37,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TYPE_ARG: ${{ fromJSON('{"auto":"", "patch":"--patch", "minor":"--minor", "major":"--major"}')[github.event.inputs.type] }} BETA_ARG: ${{ github.event.inputs.beta == 'true' && '--preRelease=beta' || '' }} - run: npm run release -- --ci --no-git --verbose $TYPE_ARG $BETA_ARG + run: npm run release -- --ci --verbose --no-git.push --no-git.commit --no-git.tag --no-github $TYPE_ARG $BETA_ARG $DRY_ARG - name: get-npm-version id: package-version uses: martinbeentjes/npm-get-version-action@main diff --git a/package.json b/package.json index a2bb0f3..5b619aa 100644 --- a/package.json +++ b/package.json @@ -163,10 +163,12 @@ "commitMessage": "chore(release): v${version}", "push": true, "commit": true, - "tag": true + "tag": true, + "requireCommits": false }, "github": { - "release": false + "release": true, + "draft": true }, "npm": { "publish": false,