Skip to content

feat: drop support for Node < 24 and test on Node 24 and 26 #135

feat: drop support for Node < 24 and test on Node 24 and 26

feat: drop support for Node < 24 and test on Node 24 and 26 #135

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
node: [24, 26]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Use Node.js ${{matrix.node}}
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ matrix.node }}
- name: npm install and test
run: |
npm install
npm test
env:
CI: true
coverage:
name: Coverage (Coveralls)
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 26
- run: |
npm install
npm test
env:
CI: true
- name: Coveralls
if: success()
uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # v2.3.8
with:
github-token: ${{secrets.GITHUB_TOKEN}}