Skip to content

Commit

Permalink
fix: add .npmignore
Browse files Browse the repository at this point in the history
  • Loading branch information
boyander committed Mar 19, 2021
1 parent 8dc7625 commit 14525cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
node-version: "12.x"
- run: yarn install --frozen-lockfile
- run: yarn run semantic-release
- run: yarn run release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
yarn.lock
.vscode
.github
.gitignore
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"eslint-plugin-import": "^2.22.1"
},
"scripts": {
"semantic-release": "semantic-release"
"release": "semantic-release"
},
"homepage": "https://github.com/core-school",
"release": {
Expand All @@ -40,10 +40,7 @@
"@semantic-release/release-notes-generator",
"@semantic-release/github",
[
"@semantic-release/npm",
{
"pkgRoot": "./pkg"
}
"@semantic-release/npm"
]
]
},
Expand Down

0 comments on commit 14525cc

Please sign in to comment.