feat(arcgis-rest-portal): add support for uploading thumbnail and decorate items will full thumbnail url #597
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: PR Tests | |
| # Only run on non-draft PRs, and when PRs are synched | |
| on: | |
| pull_request: | |
| types: [opened, reopened, ready_for_review, synchronize] | |
| # If the PR has other files, a push w/ just .md or /docs | |
| # files will still cause tests to run | |
| paths-ignore: | |
| - "**.md" | |
| - "docs/**" | |
| jobs: | |
| build: | |
| if: github.event.pull_request.draft == false | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| node: [18, 20, 22] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Install Dependencies | |
| run: npm ci --legacy-peer-deps | |
| - name: Build | |
| run: npm run build | |
| - name: Lint | |
| run: npm run lint | |
| - name: Test in Node | |
| run: npm run test:node | |
| - name: Test in Chrome | |
| run: npm run test:chrome:ci | |
| - name: Test with Vitest | |
| run: npm run test:vitest | |
| - name: Code Coverage Summary Report | |
| uses: irongut/CodeCoverageSummary@v1.3.0 | |
| with: | |
| filename: coverage/**/cobertura-coverage.xml | |
| badge: true | |
| fail_below_min: true | |
| format: markdown | |
| output: both | |
| thresholds: "100 100" | |
| - name: Add Coverage PR Comment | |
| uses: marocchino/sticky-pull-request-comment@v2 | |
| if: github.event_name == 'pull_request' && matrix.node == 22 | |
| with: | |
| recreate: true | |
| path: code-coverage-results.md |