Bump @typescript-eslint/eslint-plugin from 8.61.1 to 8.62.0 in /client-v3 #708
Workflow file for this run
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: Build Server Executables | |
| on: | |
| push: | |
| tags: ['v*'] | |
| pull_request: | |
| branches: [main, dev] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-front-end: | |
| name: Build Frontend | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '24' | |
| cache: 'npm' | |
| cache-dependency-path: 'client/package-lock.json' | |
| - name: Install dependencies | |
| run: | | |
| cd client | |
| npm ci | |
| - name: Build frontend | |
| run: | | |
| cd client | |
| npm run build | |
| - name: Setup Node.js (V3) | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '24' | |
| cache: 'npm' | |
| cache-dependency-path: 'client-v3/package-lock.json' | |
| - name: Install dependencies (V3) | |
| run: | | |
| cd client-v3 | |
| npm ci | |
| - name: Build frontend (V3) | |
| run: | | |
| cd client-v3 | |
| npm run build | |
| - name: Upload frontend build | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: frontend-build | |
| path: server/static/ | |
| retention-days: 7 | |
| build-server-executables: | |
| name: Build Server (${{ matrix.platform }}) | |
| needs: build-front-end | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| include: | |
| - os: ubuntu-latest | |
| platform: linux | |
| artifact_extension: "" | |
| - os: windows-latest | |
| platform: windows | |
| artifact_extension: ".exe" | |
| - os: macos-latest | |
| platform: macos | |
| artifact_extension: "" | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| cache: 'pip' | |
| cache-dependency-path: 'server/requirements.txt' | |
| - name: Download frontend build | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: frontend-build | |
| path: server/static | |
| - name: Install Python Packages | |
| run: python -m pip install -r server/requirements.txt | |
| - name: Build DigiScript with build script | |
| run: python dist/build_digiscript.py --onefile --name DigiScript-${{ matrix.platform }} | |
| shell: bash | |
| - name: Create ZIP package | |
| run: | | |
| mkdir -p artifacts | |
| if [ "${{ matrix.os }}" = "windows-latest" ]; then | |
| cp dist/output/${{ matrix.platform }}/DigiScript-${{ matrix.platform }}${{ matrix.artifact_extension }} artifacts/ | |
| cd artifacts | |
| powershell Compress-Archive -Path DigiScript-${{ matrix.platform }}${{ matrix.artifact_extension }} -DestinationPath DigiScript-${{ matrix.platform }}.zip | |
| else | |
| cp dist/output/${{ matrix.platform }}/DigiScript-${{ matrix.platform }}${{ matrix.artifact_extension }} artifacts/ | |
| cd artifacts | |
| chmod +x DigiScript-${{ matrix.platform }}${{ matrix.artifact_extension }} | |
| zip DigiScript-${{ matrix.platform }}.zip DigiScript-${{ matrix.platform }}${{ matrix.artifact_extension }} | |
| fi | |
| shell: bash | |
| - name: Upload executable artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: DigiScript-${{ matrix.platform }} | |
| path: artifacts/DigiScript-${{ matrix.platform }}${{ matrix.artifact_extension }} | |
| retention-days: 7 | |
| - name: Upload ZIP artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: DigiScript-${{ matrix.platform }}-zip | |
| path: artifacts/DigiScript-${{ matrix.platform }}.zip | |
| retention-days: 7 | |
| upload-server-to-release: | |
| name: Upload Server Executables to Release | |
| needs: build-server-executables | |
| if: startsWith(github.ref, 'refs/tags/v') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Download all artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| path: artifacts | |
| - name: Upload to release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: | | |
| artifacts/DigiScript-linux-zip/DigiScript-linux.zip | |
| artifacts/DigiScript-windows-zip/DigiScript-windows.zip | |
| artifacts/DigiScript-macos-zip/DigiScript-macos.zip | |
| token: ${{ secrets.GITHUB_TOKEN }} |