diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6a6cd95..72e19c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,6 +62,7 @@ jobs: HUSKY: 0 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_CONFIG_PROVENANCE: true + NPM_CONFIG_REGISTRY: https://registry.npmjs.org run: | VERSION_ARG="" if [ -n "${{ inputs.version }}" ]; then @@ -80,7 +81,7 @@ jobs: fi NPM_TAG_ARG="--npm.tag=${NPM_TAG}" - npm run release -- --ci $PREID_ARG $NPM_TAG_ARG $VERSION_ARG + npx release-it --ci $PREID_ARG $NPM_TAG_ARG $VERSION_ARG - name: Sync main → develop uses: devmasx/merge-branch@v1.4.0 diff --git a/.release-it.cjs b/.release-it.cjs index 9a0c4f1..3634b22 100644 --- a/.release-it.cjs +++ b/.release-it.cjs @@ -135,8 +135,9 @@ module.exports = () => { npm: { publish: true, skipChecks: true, + provenance: true, + access: "public", versionArgs: ["--no-git-tag-version"], - publishArgs: ["--provenance", "--access", "public"], }, plugins: { diff --git a/package.json b/package.json index 424e5b4..eacc18e 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,7 @@ "url": "git+https://github.com/addon-stack/addon-bone.git" }, "publishConfig": { - "access": "public", - "registry": "https://registry.npmjs.org/" + "access": "public" }, "bugs": { "url": "https://github.com/addon-stack/addon-bone/issues"