Skip to content

Commit

Permalink
fix npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinOtten committed Nov 2, 2024
1 parent 332e1a5 commit e9cb4d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9cb4d1

Please sign in to comment.