[ci] Skip build for lint jobs (#48234)

This commit is contained in:
Adrian Moldovan 2024-06-11 20:01:43 +03:00 committed by GitHub
parent a7f634d5ef
commit f3a7c0a6ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -88,12 +88,14 @@ jobs:
name: 'Checkout' name: 'Checkout'
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: './.github/actions/setup-woocommerce-monorepo' - uses: './.github/actions/setup-woocommerce-monorepo'
name: 'Setup Monorepo' name: 'Setup Monorepo'
id: 'setup-monorepo' id: 'setup-monorepo'
with: with:
install: '${{ matrix.projectName }}...' install: '${{ matrix.projectName }}...'
build: '${{ matrix.projectName }}' build: false
- name: 'Lint' - name: 'Lint'
run: 'pnpm --filter="${{ matrix.projectName }}" ${{ matrix.command }}' run: 'pnpm --filter="${{ matrix.projectName }}" ${{ matrix.command }}'