-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/dev' into benelan/9255-add-icons…
…-to-monorepo * origin/dev: (206 commits) fix(tile): center align slot's text when alignment is equal to center (#9773) build: regenerate package lock due to build errors (#9774) build(deps): update dependency @floating-ui/dom to v1.6.7 (#9766) chore(common-tests): add themed test helper (#9763) chore: release next fix(shell): update shell to correctly position calcite shell panel at shell's bottom (#9748) chore: release next fix(tile): center align contentTop and contentBottom slots when alignment prop equals "center" (#9732) chore: release next chore(tree-item): fix mutable warning `indeterminate` prop (#9760) fix(panel, flow-item): fix footer-padding CSS prop regression (#9757) build(deps): update angular monorepo to v18 (major) (#9587) chore: release next Chore: remove component usage files (#9052) fix(input-number): restore decimal input mode default (#9741) test(panel, flow-item): add scale control to simple stories (#9747) chore: release next feat(panel, flow-item): add scale property (#9730) chore: release next fix(segmented-control): Make check state update correctly (#9733) ...
- Loading branch information
Showing
590 changed files
with
15,598 additions
and
12,374 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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/usr/bin/env bash | ||
set -o errexit | ||
|
||
if [ "$BRANCH" = "dev" ] && [ "$NEXT_RELEASE_ENABLED" != "true" ]; then | ||
echo "Next release is disabled" | ||
exit 0 | ||
fi | ||
|
||
npm install | ||
|
||
if [ "$BRANCH" = "dev" ] && ! npm run util:is-next-deployable; then | ||
echo "No deployable changes on dev" | ||
exit 0 | ||
fi | ||
|
||
git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
git config --global user.name "github-actions[bot]" | ||
|
||
# version the packages with lerna before building to ensure the version in | ||
# Calcite components' source code preamble is correct for deployment | ||
if [ "$BRANCH" = "dev" ]; then | ||
npm run version:next | ||
elif [ "$BRANCH" = "rc" ]; then | ||
npm run version:rc | ||
else | ||
echo "Prereleases are only deployable from the 'dev' and 'rc' branches." | ||
exit 1 | ||
fi | ||
|
||
npm run build | ||
npm test | ||
|
||
# try deploying storybook, but still release next if it fails with "|| true" | ||
if [ "$BRANCH" = "dev" ]; then | ||
{ npm run --workspace=@esri/calcite-components build-storybook && | ||
npx --workspace=@esri/calcite-components storybook-to-ghpages \ | ||
--host-token-env-variable=GH_TOKEN_FOR_STORYBOOK \ | ||
--existing-output-dir=docs --ci; } || true | ||
|
||
# remove the built docs after storybook deploys to gh-pages | ||
git reset --hard | ||
fi | ||
|
||
if [ "$BRANCH" = "dev" ]; then | ||
npm run publish:next | ||
elif [ "$BRANCH" = "rc" ]; then | ||
npm run publish:rc | ||
fi | ||
|
||
npm run util:push-tags |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Deploy Prerelease | ||
concurrency: | ||
group: deploy_prerelease | ||
cancel-in-progress: true | ||
on: | ||
# `next` versions are automatically released when deployabled commits are pushed to dev | ||
push: | ||
branches: [dev] | ||
# `rc` versions must be manually released: | ||
# https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.ADMIN_TOKEN }} | ||
ref: ${{ github.base_ref || github.ref_name }} | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: package.json | ||
registry-url: "https://registry.npmjs.org" | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- name: Deploy prerelease and storybook | ||
env: | ||
NEXT_RELEASE_ENABLED: ${{ secrets.NEXT_RELEASE_ENABLED }} | ||
# https://github.com/storybookjs/storybook-deployer/issues/77#issuecomment-618560481 | ||
GH_TOKEN_FOR_STORYBOOK: ${{ github.actor }}:${{ secrets.ADMIN_TOKEN }} | ||
NPM_CONFIG_PROVENANCE: true | ||
BRANCH: ${{ github.base_ref || github.ref_name }} | ||
run: "${{ github.workspace }}/.github/scripts/publishPrerelease.sh" | ||
- name: notify teams | ||
uses: toko-bifrost/ms-teams-deploy-card@3.1.2 | ||
if: ${{ !cancelled() && github.event_name == 'push' }} | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
webhook-uri: ${{ secrets.TEAMS_WEBHOOK_URI_BUILD }} | ||
show-on-start: false | ||
card-layout-exit: complete | ||
timezone: America/Los_Angeles |
Oops, something went wrong.