diff --git a/src/clickup-cdk.ts b/src/clickup-cdk.ts index ccc1a2ea..c97d35df 100644 --- a/src/clickup-cdk.ts +++ b/src/clickup-cdk.ts @@ -161,8 +161,8 @@ export module clickupCdk { const releaseYaml = this.tryFindObjectFile('.github/workflows/release.yml'); releaseYaml?.patch( JsonPatch.add('/jobs/release_npm/steps/8', { - name: 'Remove .npmrc file for release', - run: 'rm .npmrc', + name: 'Remove ~/.npmrc file for release', + run: 'rm ~/.npmrc || true', }), ); diff --git a/test/__snapshots__/clickup-cdk.test.ts.snap b/test/__snapshots__/clickup-cdk.test.ts.snap index 8b513db9..2787bc34 100644 --- a/test/__snapshots__/clickup-cdk.test.ts.snap +++ b/test/__snapshots__/clickup-cdk.test.ts.snap @@ -280,8 +280,8 @@ jobs: run: cd .repo && yarn install --check-files --frozen-lockfile - name: Create js artifact run: cd .repo && npx projen package:js - - name: Remove .npmrc file for release - run: rm .npmrc + - name: Remove ~/.npmrc file for release + run: rm ~/.npmrc || true - name: Collect js Artifact run: mv .repo/dist dist - name: Release