Update dependency globals to v17.10.0 #907
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: Test | |
| on: [push, pull_request] | |
| # Tests only read the repo; no write scopes needed | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.ref_name }}-${{ github.workflow }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Install node | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: "24" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run lint | |
| run: npm run lint | |
| test: | |
| if: github.event_name != 'push' || github.ref_name == github.event.repository.default_branch | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node_version: ["18", "20", "24"] | |
| java_version: ["8", "11", "17", "21", "25"] | |
| java_distrib: [temurin] | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| include: | |
| - node_version: "18" | |
| java_version: "17" | |
| java_distrib: adopt | |
| os: ubuntu-latest | |
| exclude: | |
| # excludes node 8 on macOS | |
| - os: macos-latest | |
| java_version: "8" | |
| name: Test | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Install node | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: ${{ matrix.node_version }} | |
| - name: Install Java | |
| uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0 | |
| with: | |
| distribution: ${{ matrix.java_distrib }} | |
| java-version: ${{ matrix.java_version }} | |
| - name: Install dependencies and link | |
| run: npm ci | |
| - name: Run tests | |
| env: | |
| NODE_DEBUG: java-caller | |
| run: npm run test | |
| test-no-java: | |
| name: Test - No Java | |
| strategy: | |
| matrix: | |
| debian_version: [bookworm] | |
| node_version: ["18"] | |
| os: [ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| container: | |
| image: "node:${{ matrix.node_version }}-${{ matrix.debian_version }}" | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Install dependencies and link | |
| run: npm ci | |
| - name: Run tests | |
| env: | |
| NODE_DEBUG: "java-caller" | |
| run: npm run test |