From 7881d6880f50fc85843012114a27741ef088ece7 Mon Sep 17 00:00:00 2001 From: EmandM Date: Wed, 15 May 2024 01:06:35 -0400 Subject: [PATCH 1/2] chore: Finalise updates to github actions --- .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", From cf17120d2eae18aac71f38e40c111f24c1f69433 Mon Sep 17 00:00:00 2001 From: EmandM Date: Wed, 15 May 2024 01:10:23 -0400 Subject: [PATCH 2/2] chore: Finalise updates to github actions --- .github/workflows/release-and-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-and-publish.yml b/.github/workflows/release-and-publish.yml index 41e16b1..5f609bc 100644 --- a/.github/workflows/release-and-publish.yml +++ b/.github/workflows/release-and-publish.yml @@ -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