Bump cross-spawn from 7.0.3 to 7.0.6 #1353
This file contains 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] | |
permissions: read-all | |
concurrency: | |
group: ${{ github.ref_name }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
strategy: | |
matrix: | |
node_version: ['20'] | |
java_version: ['11', '17','21'] | |
java_distrib: [temurin] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
include: | |
- node_version: '18' | |
java_version: '17' | |
java_distrib: adopt | |
os: ubuntu-latest | |
name: Test | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Install node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Install Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ matrix.java_distrib }} | |
java-version: ${{ matrix.java_version }} | |
- name: Install dependencies and link | |
run: npm ci && npm link | |
- name: Run tests | |
env: | |
DEBUG: "npm-groovy-lint" | |
run: npm run test | |
coverage: | |
name: Test - No Java - CodeCov | |
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@v4 | |
- name: Install dependencies and link | |
run: npm ci && npm link | |
- name: Run tests | |
env: | |
DEBUG: "npm-groovy-lint" | |
run: npm run test:coverage | |
# - name: Build coverage report | |
# run: ./node_modules/.bin/nyc report --reporter text-lcov > coverage.lcov | |
# - name: Upload coverage to Codecov | |
# uses: codecov/codecov-action@v4 | |
# with: | |
# fail_ci_if_error: true | |
# verbose: true | |
# token: ${{ secrets.CODECOV_TOKEN }} # required |