Skip to content

Commit

Permalink
Merge 62b8e42 into 0dcad2b
Browse files Browse the repository at this point in the history
  • Loading branch information
milosbugarinovic committed Dec 27, 2020
2 parents 0dcad2b + 62b8e42 commit 244662c
Show file tree
Hide file tree
Showing 31 changed files with 367 additions and 442 deletions.
4 changes: 3 additions & 1 deletion .semaphore/alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ blocks:
- name: Deploy to Alpha
task:
secrets:
- name: bc-git-secret
- name: bc-npm-secret
- name: bc-msh-node-env-secret
jobs:
- name: Deploy
Expand All @@ -27,6 +29,6 @@ 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 publish -tag alpha
- npm publish --access public -tag alpha
skip:
when: branch != 'main'
4 changes: 3 additions & 1 deletion .semaphore/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ blocks:
- name: Deploy to Production
task:
secrets:
- name: bc-git-secret
- name: bc-npm-secret
- name: bc-msh-node-env-secret
jobs:
- name: Deploy
Expand All @@ -26,6 +28,6 @@ blocks:
- npm run build
- git tag v$VERSION-prod && git push origin --tags
- npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
- npm publish
- npm publish --access public
skip:
when: branch != 'main'
4 changes: 4 additions & 0 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ blocks:
- name: Install-Lint-Test
task:
secrets:
- name: bc-git-secret
- name: bc-npm-secret
- name: bc-msh-node-env-secret
env_vars:
- name: NODE_ENV
Expand All @@ -29,6 +31,8 @@ blocks:
- name: Bump Version
task:
secrets:
- name: bc-git-secret
- name: bc-npm-secret
- name: bc-msh-node-env-secret
jobs:
- name: Build
Expand Down
191 changes: 128 additions & 63 deletions package-lock.json

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

0 comments on commit 244662c

Please sign in to comment.