Skip to content

Fixing homepage broken image #4705

Fixing homepage broken image

Fixing homepage broken image #4705

Workflow file for this run

name: PR - Lint code
on:
pull_request:
branches:
- main
concurrency:
group: ci-${{ github.event.number }}-${{ github.workflow }}
cancel-in-progress: true
defaults:
run:
shell: pwsh
env:
bicepPath: "./infra/main.bicep"
jobs:
lint-infra:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
az bicep build --file ${{ env.bicepPath }}
lint-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- run: pnpm install
- run: pnpm lint --max-warnings 0