From e9cb4d14e8a6b9216d8383009fb41a0166c8a278 Mon Sep 17 00:00:00 2001 From: Edwin Otten Date: Sat, 2 Nov 2024 19:56:50 +0100 Subject: [PATCH] fix npm-publish.yml --- .github/workflows/npm-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index bfc0020..e70942d 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -24,7 +24,7 @@ jobs: run: npm run build - name: Copy package.json to dist directory - run: cp package.json dist && sed -i 's/\"main\": \".*\"/\"main\": \"sportlink-to-mailchimp-converter.umd.js\"/' dist/package.json && sed -i 's/\"types\": \".*\"/\"types\": \"sportlink-to-mailchimp-converter.umd.d.ts\"/' dist/package.json + run: "cp package.json dist && sed -i 's/\"main\": \".*\"/\"main\": \"sportlink-to-mailchimp-converter.umd.js\"/' dist/package.json && sed -i 's/\"types\": \".*\"/\"types\": \"sportlink-to-mailchimp-converter.d.ts\"/' dist/package.json" - name: Publish to npm uses: JS-DevTools/npm-publish@v3