Skip to content

Commit

Permalink
chore: generate docs on release
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed Mar 30, 2022
1 parent b615802 commit a84ffbe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Expand Up @@ -22,6 +22,7 @@ jobs:
node-version: "lts/*"
- run: npm ci
- run: npm run build
- run: npm run docs
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
12 changes: 11 additions & 1 deletion .releaserc.json
Expand Up @@ -13,7 +13,17 @@
"@semantic-release/release-notes-generator",
["@semantic-release/changelog", { "changelogFile": "CHANGELOG.md" }],
"@semantic-release/npm",
"@semantic-release/git",
[
"@semantic-release/git",
{
"assets": [
"package.json",
"package-lock.json",
"CHANGELOG.md",
"docs/**/*"
]
}
],
"@semantic-release/github"
]
}

0 comments on commit a84ffbe

Please sign in to comment.