chore(deps-dev): bump the patch-level group with 1 update #101
Workflow file for this run
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: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.asciidoc' | |
- 'docs/**' | |
- 'examples/**' | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.asciidoc' | |
- 'docs/**' | |
- 'examples/**' | |
# Cancel jobs running for old commits on a PR. Allow concurrent runs on 'main'. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
test-vers: | |
# TODO: services eventually will go here | |
strategy: | |
fail-fast: false | |
matrix: | |
node: | |
- '21' | |
- '21.0' | |
- '20' | |
- '20.0' | |
- '18.18.2' # Skip >=18.19.0 until IITM issues are resolved. | |
- '18.0' | |
- '16' | |
- '16.0' | |
- '14' | |
- '14.17' # TODO: is this our actual min? same as elastic-apm-node | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Update npm to a version that supports workspaces (v7 or later) | |
if: ${{ matrix.node < 16 }} | |
run: npm install -g npm@9 # npm@9 supports node >=14.17.0 | |
- run: npm ci | |
- run: npm test | |
# TODO: test-windows eventually |