Skip to content

Commit

Permalink
chore: add docs publishing to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Ryazanov committed Aug 2, 2023
1 parent 061da6f commit f742106
Show file tree
Hide file tree
Showing 3 changed files with 2,005 additions and 1,144 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,10 @@ jobs:
run: yarn build

- name: Release
run: yarn publish
run: yarn release

- name: Build docs
run: yarn docs:build

- name: Publish docs
run: yarn docs:publish
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"bootstrap": "yarn --frozen-lockfile",
"build": "lerna run prepack",
"watch": "lerna run watch --parallel",
"publish": "lerna publish --conventional-commits --yes --create-release github",
"release": "lerna publish --loglevel=silly --no-private --conventional-commits --yes --create-release github",
"version": "git add packages/*/package.json",
"clean": "git clean -Xdf .",
"docs:build": "yarn --cwd ./website build",
"docs:start": "yarn --cwd ./website start",
Expand All @@ -32,7 +33,7 @@
"fs-extra": "^10.0.1",
"jest": "^27.5.1",
"jest-date-mock": "^1.0.8",
"lerna": "^4.0.0",
"lerna": "^5.6.2",
"prettier": "^2.5.1",
"size-limit": "^7.0.8",
"ts-jest": "^27.1.3",
Expand Down
Loading

0 comments on commit f742106

Please sign in to comment.