From 6f7cf3616d4a75ca778d7a773d19adbfa8813f7e Mon Sep 17 00:00:00 2001 From: markgerrard Date: Mon, 15 Jul 2024 10:54:13 +0100 Subject: [PATCH] add --traceResolution flag --- .github/workflows/generate.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/generate.yaml b/.github/workflows/generate.yaml index 224e0f2..f00dad3 100644 --- a/.github/workflows/generate.yaml +++ b/.github/workflows/generate.yaml @@ -7,8 +7,8 @@ permissions: on: push: - branches: [ main ] - + branches: [main] + jobs: generate: name: Generate @@ -32,6 +32,7 @@ jobs: echo '{ "version": "1.0.${{ github.run_number }}", "name": "@wiremock-inc/apimatic-sdkgen-demo", "repository": "github:wiremock-inc/apimatic-sdkgen-demo" }' > package-patch.json jq -r -s '.[0] * .[1]' package.json package-patch.json > tmp.json mv -f tmp.json package.json + sed -i '' 's/"prepare"\: ".*"/"prepare"\: "rm \-rf dist \& tsc \-p tsconfig.esm.json \-\-traceResolution \& tsc \-p tsconfig\.cjs\.json \-\-traceResolution"/g' package.json - name: Authenticate with private NPM package working-directory: ./sdks/ts/openapi_sdk_typescript @@ -44,5 +45,3 @@ jobs: - name: Publish to GitHub Packages NPM working-directory: ./sdks/ts/openapi_sdk_typescript run: npm publish --scope=wiremock-inc --registry=https://npm.pkg.github.com - -