This repository was archived by the owner on Aug 7, 2026. It is now read-only.
chore(deps): bump esbuild, tsx, vite and vitest #1573
This file contains hidden or 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
| name: discord | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| pull_request_review: | |
| types: [submitted] | |
| branches: [main] | |
| jobs: | |
| update-commands: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: '22.x' | |
| - run: npm install | |
| - if: github.ref != 'refs/heads/main' | |
| name: Set environment to dummy | |
| run: echo "GUILD_ID=${{ secrets.DUMMY_GUILD }}" >> "$GITHUB_ENV" | |
| - name: Update Commands | |
| run: npx tsx vite-node.ts update_commands.ts | |
| env: | |
| APP_ID: ${{ secrets.APP_ID }} | |
| BOT_TOKEN: ${{ secrets.BOT_TOKEN }} |