Skip to content

meta: bump googleapis/release-please-action from 4 to 5 #732

meta: bump googleapis/release-please-action from 4 to 5

meta: bump googleapis/release-please-action from 4 to 5 #732

name: Node.js CI
on:
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: nodejs-ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lts:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [22.x, 24.x]
steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- run: npx @pkgjs/support@latest validate
- run: node_modules/nyc/bin/nyc.js report --reporter=lcovonly
- name: Coveralls Parallel
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-${{ matrix.node-version }}
parallel: true
current:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Use Node.js 26.x
uses: actions/setup-node@v6
with:
node-version: 26.x
- run: npm ci
- run: npm run build
- run: npm run test:headless
- run: npm test
- run: npx @pkgjs/support@latest validate
- run: node_modules/nyc/bin/nyc.js report --reporter=lcovonly
- name: Coveralls Parallel
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-current
parallel: true
finish:
name: Node.js CI
needs: [lts, current]
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true