Skip to content

Commit

Permalink
build: update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-a-young committed Jan 29, 2024
1 parent b423ecc commit 43994ea
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,14 @@ jobs:
git config --global user.email ${{ secrets.GH_EMAIL }}
git config --global user.name ${{ secrets.GH_USER }}
- name: Publish
run: yarn release
- name: Get recommended bump type
run: BUMP_TYPE="$(node_modules/.bin/conventional-recommended-bump -p angular)"

- name: Build Docs and Deploy
run: yarn deploy
- name: log bump type
run: echo $BUMP_TYPE

# - name: Publish
# run: yarn release

# - name: Build Docs and Deploy
# run: yarn deploy
6 changes: 6 additions & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ jobs:

- name: Build Docs
run: yarn build:preview

- name: Get recommended bump type
run: BUMP_TYPE="$(node_modules/.bin/conventional-recommended-bump -p angular)"

- name: log bump type
run: echo $BUMP_TYPE
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
package.json
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"deploy": "yarn workspace @availity/availity-uikit-docs deploy",
"test": "echo \"Error: no test specified\" && exit 0",
"release": "sh ./scripts/release.sh",
"publish": "lerna publish",
"publish:uikit": "yarn workspace availity-uikit publish",
"bump-type": "conventional-recommended-bump -p angular",
"update-changelog": "conventional-changelog -i CHANGELOG.md -o CHANGELOG.md -p angular",
"remove-locks": "find . -type f -name 'package-lock.json' -delete",
"nuke": "yarn remove-locks && yarn clean && rm -rf ./node_modules",
"update-fonts": "node scripts/updateFont.js"
Expand Down

0 comments on commit 43994ea

Please sign in to comment.