diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fae7360..6ad0420 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,10 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: name: ${{ matrix.os }} with Node.js ${{ matrix.node-version }} @@ -13,14 +17,18 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - node-version: [16, 18] + node-version: [16, 18, 20, 22, 24] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} + - name: macOS + Node.js 16 dependencies fix + if: matrix.os == 'macos-latest' && matrix.node-version == 16 + run: brew install python-setuptools + - run: npm install - name: Run tests on UNIX platforms