diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 80d9a879..806ab2c5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,7 +19,7 @@ jobs: - name: Yarn install run: yarn - name: Run tag - run: yarn lerna version --conventional-commits --create-release github --yes + run: yarn lerna version --conventional-commits --changelog-preset conventionalcommits --create-release github --yes env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} build-and-deploy-api: diff --git a/lerna.json b/lerna.json index e4190402..c337be49 100644 --- a/lerna.json +++ b/lerna.json @@ -1,20 +1,19 @@ { "version": "4.1.7", - "packages": [ - "packages/*" - ], - "npmClientArgs": [ - "--no-lockfile" - ], + "packages": ["packages/*"], + "npmClientArgs": ["--no-lockfile"], "npmClient": "yarn", "useWorkspaces": true, "command": { "version": { - "ignoreChanges": [ - "*.md" - ], + "ignoreChanges": ["*.md"], "npmClient": "yarn", - "message": "chore(release): publish %s" + "message": "chore(release): publish %s", + "conventionalCommits": true, + "changelogPreset": { + "name": "conventionalcommits", + "issueUrlFormat": "{{host}}/{{owner}}/{{repository}}/issues/{{id}}" + } } } }