-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Condense characters page (#1621) * fix null checks (#1624) * Cache more actions (#1622) * cache more * Add comment * Speed up builds (#1626) * drop unnecessary deps * remove almost all build steps why doesnt json have trailing commas :( * rm build steps from sr * make equipped build title button-like (#1629) * make equipped build title button-like * format * make build TC title more button-like * only deploy if build was a success (#1633) * Create PRs in `new-release.yml` (#1631) * yep * fixes * allow squash merges * fix typo * typo2 * printf * Convert Pagination to infinite scroll (#1627) * Infinite scroll experiment on artifacts page * convert all pagination to infinite scroll * add inf scroll to art exclusion * fix typecheck in mini-ci (#1636) * fix typecheck in mini-ci * typecheck first * move teambuff to team overview (#1632) * move teambuff to team overview * update team button to settings icon * non full-width add button * Add teams page filter (#1639) * Add teams page filter * format * additional features * fix translation * Add `teams` tab to mobile UI (#1654) * Update teamcard (#1653) * update teamcard * remove unnecessary divider * more colorful teammate selector * update migration naming (#1658) * update migration naming * add migration for GO migration on import * Open Team Editor after creating team from character editor (#1655) * Open Team Editor after creating team from character editor * remove console.log * Show loadout + build name on teamcard hover (#1656) * show loadout + build name on teamcard hover * update teamcard * fix team navigation (#1659) * Combine Loadout and Build settings into a singular popup (#1662) * fix SetEffectDisplay * fix build --------- Co-authored-by: eeeqeee <103794572+eeeqeee@users.noreply.github.com> Co-authored-by: HassnHamada <44922829+HassnHamada@users.noreply.github.com>
- Loading branch information
1 parent
1ef1fb8
commit ca73f9f
Showing
80 changed files
with
1,659 additions
and
1,350 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Build New Release | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
if: ${{ github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release') }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'yarn' | ||
- name: Get version | ||
id: get-version | ||
run: | | ||
echo "version=$(printf '%s' '${{ github.event.pull_request.title }}' | awk '{print $3}')" >> $GITHUB_OUTPUT | ||
- name: Set git config | ||
run: | | ||
git config user.name "github-actions[bot]" | ||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
- name: Get commit msg | ||
id: get-commit-msg | ||
run: | | ||
if [[ -z "${{ steps.get-version.outputs.version }}" ]]; then | ||
echo "msg=deploy: $(git rev-parse HEAD)" >> $GITHUB_OUTPUT | ||
echo "title-deploy=Deploy ref $(git rev-parse HEAD)" >> $GITHUB_OUTPUT | ||
else | ||
echo "msg=deploy: version ${{ steps.get-version.outputs.version }} $(git rev-parse HEAD)" >> $GITHUB_OUTPUT | ||
echo "title-deploy=Deploy version ${{ steps.get-version.outputs.version }} $(git rev-parse HEAD)" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Yarn install | ||
run: | | ||
yarn install --immutable --immutable-cache | ||
- name: Setup .env | ||
run: | | ||
printf '%s' "$ENVFILE" > apps/frontend/.env.local | ||
env: | ||
ENVFILE: ${{ vars.ENVFILE }} | ||
- name: Build genshin-optimizer | ||
run: | | ||
NX_URL_GITHUB_GO_CURRENT_VERSION="https://github.com/${{ github.repository }}/commit/$(git rev-parse HEAD)" \ | ||
yarn run nx run frontend:build-vite:production | ||
- name: Create Deploy PR | ||
run: | | ||
git fetch origin gh-pages --depth=1 | ||
git worktree add ../gh-pages gh-pages --no-checkout | ||
cp -rT dist/apps/frontend ../gh-pages | ||
cd ../gh-pages | ||
git add --all . | ||
git commit -m "${{ steps.get-commit-msg.outputs.msg }}" | ||
git push origin HEAD:actions/deploy-gh-pages --force | ||
gh pr create --base gh-pages --head actions/deploy-gh-pages --title '${{ steps.get-commit-msg.outputs.title-deploy }}' --body '' | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
- name: Make release | ||
if: steps.get-version.outputs.version != '' | ||
run: | | ||
gh release create ${{ steps.get-version.outputs.version }} --generate-notes --target $(git rev-parse HEAD) | ||
env: | ||
GH_TOKEN: ${{ github.token }} |
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
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
Oops, something went wrong.