Skip to content

Commit

Permalink
re-order prettier and tgui bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Oyu07 authored Apr 19, 2024
1 parent 9480c3b commit 576e275
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-tgui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
nvm alias default "$NODE_VERSION"
echo "NPM_CACHE_DIR=$(npm config get cache)" >> $GITHUB_OUTPUT
echo "NPM_GLOBAL_CACHE_DIR=$(npm config get prefix)/node_modules/" >> $GITHUB_OUTPUT
- name: Cache Dependencies
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -100,19 +101,19 @@ jobs:
echo '- Automatic merge failed. Non-tgui bundle files have conflicts.' | tee -a "$GITHUB_STEP_SUMMARY"
exit 1
fi
- name: Run Prettier
run: |
source ~/.nvm/nvm.sh
nvm use default
cd tgui && bin/tgui --prettier
- name: Build /tg/ui
run: |
source ~/.nvm/nvm.sh
nvm use default
cd tgui && bin/tgui --mode=production
- name: Run Pretter
run: |
source ~/.nvm/nvm.sh
nvm use default
cd tgui && bin/tgui --prettier
- name: Commit and Push
run: |
if { git update-index --refresh && git diff-index --quiet HEAD -- ; } > /dev/null; then
Expand Down

0 comments on commit 576e275

Please sign in to comment.