Bump eslint from 10.7.0 to 10.8.0 in /src/Acmebot.App/ClientApp in the client-app group #193
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: CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| env: | |
| DOTNET_VERSION: 10.0.x | |
| NODE_VERSION: 24.x | |
| BICEP_VERSION: 0.44.1 | |
| permissions: {} | |
| jobs: | |
| backend: | |
| name: Backend | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up .NET ${{ env.DOTNET_VERSION }} | |
| uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0 | |
| with: | |
| dotnet-version: ${{ env.DOTNET_VERSION }} | |
| - name: Build backend | |
| run: | | |
| dotnet restore ./Acmebot.slnx | |
| dotnet format --verify-no-changes --verbosity detailed --no-restore ./Acmebot.slnx | |
| dotnet build -c Release --no-restore ./Acmebot.slnx | |
| dashboard: | |
| name: Dashboard | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up Node.js ${{ env.NODE_VERSION }} | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: npm | |
| cache-dependency-path: src/Acmebot.App/ClientApp/package-lock.json | |
| - name: Build dashboard | |
| working-directory: ./src/Acmebot.App/ClientApp | |
| run: | | |
| npm ci | |
| npm run lint | |
| npm run build | |
| bicep: | |
| name: Bicep | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up Bicep ${{ env.BICEP_VERSION }} | |
| run: | | |
| az config set bicep.use_binary_from_path=false | |
| az bicep install --version v${{ env.BICEP_VERSION }} | |
| - name: Validate Bicep templates | |
| run: | | |
| az bicep build -f ./deploy/azuredeploy.bicep | |
| az bicep build -f ./deploy/update/azuredeploy.bicep | |
| az bicep build -f ./deploy/migrate/azuredeploy.bicep | |
| git diff --exit-code --quiet | |
| build: | |
| name: CI result | |
| if: ${{ always() }} | |
| needs: [backend, dashboard, bicep] | |
| runs-on: ubuntu-latest | |
| permissions: {} | |
| steps: | |
| - name: Check required jobs | |
| run: | | |
| if [ "${{ needs.backend.result }}" != "success" ] || [ "${{ needs.dashboard.result }}" != "success" ] || [ "${{ needs.bicep.result }}" != "success" ]; then | |
| exit 1 | |
| fi |