diff --git a/.github/workflows/release-and-publish.yml b/.github/workflows/release-and-publish.yml index 6bf6509..5f609bc 100644 --- a/.github/workflows/release-and-publish.yml +++ b/.github/workflows/release-and-publish.yml @@ -74,7 +74,7 @@ jobs: - run: npm run compile # Publish to npm - run: | - if [[ ${{ needs.setup.outputs.do_dry_run }} == 'true' ]]; then + if [[ ${{ inputs.prerelease }} == 'true' ]]; then npm publish --access public --dry-run else npm publish --access public @@ -113,7 +113,7 @@ jobs: external_test: runs-on: ubuntu-latest needs: [create-release, publish-npm] - if: ${{ inputs.prerelease }} == 'false' + if: ${{ !inputs.prerelease }} steps: - uses: actions/setup-node@v4 - uses: actions/checkout@v4 diff --git a/package.json b/package.json index 0e6d995..3b3637a 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "types": "lib/index.d.ts", "repository": { "type": "git", - "url": "https://github.com/EmandM/ts-mock-imports" + "url": "git+https://github.com/EmandM/ts-mock-imports.git" }, "keywords": [ "import",