-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 25 * bring in dockers * chore: bring back unit tests
- Loading branch information
Showing
2 changed files
with
34 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,24 +35,26 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- id: create-branch | ||
name: Create Branch | ||
env: | ||
SEGMENT: patch | ||
run: | | ||
git config --global user.name "$GITHUB_ACTOR" | ||
git config --global user.email "[email protected]" | ||
echo npm version minor | ||
npm version minor | ||
echo npm version $SEGMENT | ||
npm version $SEGMENT | ||
VERSION=$(node -p "require('./package.json').version") | ||
BRANCH="release/$VERSION" | ||
echo "release_branch=$BRANCH" | ||
echo "release_branch=$BRANCH" >> "$GITHUB_OUTPUT" | ||
echo "${{ needs.start-release.outputs.package_api }}" | ||
if [ "${{ needs.start-release.outputs.package_api }}" == "true" ]; then | ||
echo npm version minor -w packages/api | ||
npm version minor -w packages/api | ||
echo npm version $SEGMENT -w packages/api | ||
npm version $SEGMENT -w packages/api | ||
fi | ||
echo "${{ needs.start-release.outputs.package_mui }}" | ||
if [ "${{ needs.start-release.outputs.package_mui }}" == "true" ]; then | ||
echo npm version minor -w packages/mui | ||
npm version minor -w packages/mui | ||
echo npm version $SEGMENT -w packages/mui | ||
npm version $SEGMENT -w packages/mui | ||
fi | ||
git checkout -b "$BRANCH" | ||
git status | ||
|
@@ -65,24 +67,24 @@ jobs: | |
BODY: "Automated version update PR" | ||
run: | | ||
gh pr create --base main --head "$HEAD" -b "$BODY" -t "$TITLE" | ||
# package-mui: | ||
# needs: [start-release] | ||
# if: needs.start-release.outputs.package_mui == 'true' | ||
# uses: ./.github/workflows/docker.yaml | ||
# permissions: | ||
# contents: read | ||
# packages: write | ||
# with: | ||
# package: mui | ||
# registry: ghcr.io | ||
# package-api: | ||
# needs: [start-release] | ||
# if: needs.start-release.outputs.package_api == 'true' | ||
# uses: ./.github/workflows/docker.yaml | ||
# permissions: | ||
# contents: read | ||
# packages: write | ||
# with: | ||
# package: api | ||
# registry: ghcr.io | ||
gh pr merge | ||
package-mui: | ||
needs: [start-release] | ||
if: needs.start-release.outputs.package_mui == 'true' | ||
uses: ./.github/workflows/docker.yaml | ||
permissions: | ||
contents: read | ||
packages: write | ||
with: | ||
package: mui | ||
registry: ghcr.io | ||
package-api: | ||
needs: [start-release] | ||
if: needs.start-release.outputs.package_api == 'true' | ||
uses: ./.github/workflows/docker.yaml | ||
permissions: | ||
contents: read | ||
packages: write | ||
with: | ||
package: api | ||
registry: ghcr.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters