Skip to content

Commit

Permalink
fix: publish dist directory with github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar committed Apr 11, 2020
1 parent 63c852a commit 7aee107
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
plugins: [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/npm", { npmPublish: true }],
["@semantic-release/npm", { npmPublish: true, pkgRoot: "dist" }],
"@semantic-release/github",
[
"@semantic-release/git",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
},
"scripts": {
"start": "react-scripts start",
"prepublishOnly": "echo 'You must be in the dist directory to publish' && [ -f ./Annotator/index.js ]",
"test": "react-scripts test",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 9090 -s public",
Expand Down

0 comments on commit 7aee107

Please sign in to comment.