Skip to content

Commit

Permalink
Merge pull request #212 from lifeomic/update-semantic-release-tooling
Browse files Browse the repository at this point in the history
fix: Add feedback for semantic-release
  • Loading branch information
atolivero authored Apr 6, 2022
2 parents f3540de + 0c8edf9 commit 918498b
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/lifeomic-probot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enforceSemanticCommits: true
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
environment: npm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{secrets.LIFEOMIC_NPM_TOKEN}}
NPM_TOKEN: ${{ secrets.LIFEOMIC_NPM_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
Expand All @@ -20,6 +20,7 @@ jobs:
registry-url: https://registry.npmjs.org
- name: Build and Test
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
yarn install
yarn test
yarn build
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lifeomic/cli",
"version": "13.6.0",
"version": "0.0.0",
"description": "CLI for interacting with the LifeOmic PHC API.",
"main": "lo.js",
"author": "LifeOmic <development@lifeomic.com>",
Expand All @@ -17,8 +17,7 @@
"lint": "eslint .",
"pretest": "yarn lint",
"test": "ava --serial --verbose test/unit",
"build": "./build.sh",
"semantic-release": "semantic-release"
"build": "./build.sh"
},
"dependencies": {
"axios": "^0.21.1",
Expand Down Expand Up @@ -54,12 +53,13 @@
"@lifeomic/eslint-plugin-node": "^1.3.0",
"ava": "^0.25.0",
"axios-mock-adapter": "^1.19.0",
"conventional-changelog-conventionalcommits": "^4.6.3",
"eslint": "^4.19.1",
"memory-streams": "^0.1.3",
"pkg": "^4.4.3",
"proxyquire": "^2.1.0",
"sinon": "^4.5.0",
"semantic-release": "^19.0.2"
"semantic-release": "^19.0.2",
"sinon": "^4.5.0"
},
"eslintConfig": {
"extends": "plugin:@lifeomic/node/recommended"
Expand Down
1 change: 1 addition & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
branches: ['master'],
plugins: [
['@semantic-release/commit-analyzer', { preset: 'conventionalcommits' }],
'@semantic-release/npm',
[
'@semantic-release/github',
Expand Down
9 changes: 9 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2031,6 +2031,15 @@ conventional-changelog-angular@^5.0.0:
compare-func "^2.0.0"
q "^1.5.1"

conventional-changelog-conventionalcommits@^4.6.3:
version "4.6.3"
resolved "https://registry.yarnpkg.com/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz#0765490f56424b46f6cb4db9135902d6e5a36dc2"
integrity sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==
dependencies:
compare-func "^2.0.0"
lodash "^4.17.15"
q "^1.5.1"

conventional-changelog-writer@^5.0.0:
version "5.0.1"
resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz#e0757072f045fe03d91da6343c843029e702f359"
Expand Down

0 comments on commit 918498b

Please sign in to comment.