Skip to content

Commit

Permalink
fix(generate package): generate package prior to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mdial89f committed Apr 20, 2022
1 parent ab32930 commit 06b4a58
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
with:
node-version: 16
- run: npm ci
- run: npm run gen
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"test": "jest",
"test:cov": "jest --coverage",
"tslint": "tslint -p ./",
"bp": "npm run tslint && rm -rf ./dist && rm -rf ./node_modules && npm i --save && tsc && npm publish"
"bp": "npm run tslint && rm -rf ./dist && rm -rf ./node_modules && npm i --save && tsc && npm publish",
"gen": "tsc"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 06b4a58

Please sign in to comment.