Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

[DEVX-3565] add neo4j plugin for v4 #87

[DEVX-3565] add neo4j plugin for v4

[DEVX-3565] add neo4j plugin for v4 #87

Workflow file for this run

name: Project
on:
pull_request:
push:
branches: [master]
schedule:
- cron: "0 4 * * *"
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
integration:
strategy:
# when one version fails, say 14, all the other versions are stopped
# setting fail-fast to false in an attempt to prevent this from happening
fail-fast: false
matrix:
version: [16, 18, latest]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
# Disable core dumps since some integration tests intentionally abort and core dump generation takes around 5-10s
- run: yarn install
- run: sudo sysctl -w kernel.core_pattern='|/bin/false'
- run: yarn test:integration
integration-ci:
strategy:
matrix:
version: [16, latest]
framework: [cucumber, playwright]
runs-on: ubuntu-latest
env:
DD_SERVICE: dd-trace-js-integration-tests
DD_CIVISIBILITY_AGENTLESS_ENABLED: 1
DD_API_KEY: ${{ secrets.DD_API_KEY_CI_APP }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- run: yarn install
- run: yarn test:integration:${{ matrix.framework }}
env:
NODE_OPTIONS: '-r ./ci/init'
integration-cypress:
strategy:
matrix:
version: [16, latest]
# 6.7.0 is the minimum version we support
cypress-version: [6.7.0, latest]
runs-on: ubuntu-latest
env:
DD_SERVICE: dd-trace-js-integration-tests
DD_CIVISIBILITY_AGENTLESS_ENABLED: 1
DD_API_KEY: ${{ secrets.DD_API_KEY_CI_APP }}
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/node/setup
- run: yarn install
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- run: yarn test:integration:cypress
env:
CYPRESS_VERSION: ${{ matrix.cypress-version }}
NODE_OPTIONS: '-r ./ci/init'
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/node/setup
- run: yarn install
- run: yarn lint
typescript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/node/setup
- run: yarn install
- run: yarn type:test
- run: yarn type:doc