From ef825ee29b6d5d59467e27a86ac646f2ee69feff Mon Sep 17 00:00:00 2001 From: Emma Date: Wed, 15 May 2024 01:07:06 -0400 Subject: [PATCH] chore: Finalise updates to github actions (#62) --- .github/workflows/release-and-publish.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-and-publish.yml b/.github/workflows/release-and-publish.yml index 6bf6509..41e16b1 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 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",