Bump vite from 7.1.11 to 7.3.2 in /.github #450
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: Staging Lint Checks | |
| on: | |
| pull_request: | |
| types: | |
| # default | |
| - opened | |
| - synchronize | |
| - reopened | |
| # labels can be used to select rule(s) for testing | |
| - labeled | |
| - unlabeled | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| env: | |
| SPEC_REPO: Azure/azure-rest-api-specs | |
| SPEC_CHECKOUT_PATH: specs | |
| MAX_FILES: "100" | |
| ALLOWED_RPS: "compute,monitor,sql,hdinsight,network,resource,storage" | |
| jobs: | |
| staging-lint-checks: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout validator repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Checkout specs repository (sparse - only needed RPs) | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: ${{ env.SPEC_REPO }} | |
| path: ${{ env.SPEC_CHECKOUT_PATH }} | |
| sparse-checkout: | | |
| specification/common-types | |
| specification/network | |
| specification/compute | |
| specification/monitor | |
| specification/sql | |
| specification/hdinsight | |
| specification/resource | |
| specification/storage | |
| - name: Install Rush & dependencies | |
| run: | | |
| node common/scripts/install-run-rush.js install | |
| - name: Build validator (local changes) | |
| run: | | |
| node common/scripts/install-run-rush.js build -t @microsoft.azure/openapi-validator | |
| - name: Install .github runtime dependencies | |
| run: npm ci --omit dev | |
| working-directory: .github | |
| - name: Extract rules and run AutoRest validation | |
| uses: actions/github-script@v8 | |
| with: | |
| script: | | |
| const { default: runInGitHubActions } = await import('${{ github.workspace }}/.github/workflows/src/extract-rule-names-and-run-validation.js'); | |
| await runInGitHubActions({ github, context, core }); | |
| - name: Upload findings artifact | |
| if: always() | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: linter-findings | |
| path: artifacts/linter-findings.txt | |
| if-no-files-found: warn |