Skip to content

Commit

Permalink
fix: update packages
Browse files Browse the repository at this point in the history
husky v5
update deploy script
  • Loading branch information
milosbugarinovic committed Feb 12, 2021
1 parent 46caa3f commit 492d847
Show file tree
Hide file tree
Showing 7 changed files with 752 additions and 911 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run lint
1 change: 1 addition & 0 deletions .semaphore/alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ blocks:
- npm run bump-version -- $VERSION-alpha
- git tag v$VERSION-alpha && git push origin --tags
- npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
- npm config set unsafe-perm true
- npm publish --access public -tag alpha
skip:
when: branch != 'main'
1 change: 1 addition & 0 deletions .semaphore/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ blocks:
- npm run build
- git tag v$VERSION-prod && git push origin --tags
- npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
- npm config set unsafe-perm true
- npm publish --access public
skip:
when: branch != 'main'
Loading

0 comments on commit 492d847

Please sign in to comment.