diff --git a/.github/workflows/edge.yml b/.github/workflows/edge.yml index d69d635920..58bdcb5d70 100644 --- a/.github/workflows/edge.yml +++ b/.github/workflows/edge.yml @@ -11,8 +11,8 @@ on: branches: - main paths-ignore: - - '**.md' - - '**.asciidoc' + - '**/**.md' + - '**/**.asciidoc' - 'docs/**' - 'examples/**' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f419e97512..cb4081d59f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,15 +7,15 @@ on: branches: - main paths-ignore: - - '*.md' - - '*.asciidoc' + - '**/*.md' + - '**/*.asciidoc' - 'docs/**' pull_request: branches: - main paths-ignore: - - '*.md' - - '*.asciidoc' + - '**/*.md' + - '**/*.asciidoc' - 'docs/**' jobs: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5479b8b520..18ff3c645c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,16 +16,16 @@ on: branches: - main paths-ignore: - - '*.md' - - '*.asciidoc' + - '**/*.md' + - '**/*.asciidoc' - 'docs/**' - 'examples/**' pull_request: branches: - main paths-ignore: - - '*.md' - - '*.asciidoc' + - '**/*.md' + - '**/*.asciidoc' - 'docs/**' - 'examples/**' diff --git a/examples/trace-redis.js b/examples/trace-redis.js index 4624779e64..3bdfdcbe75 100755 --- a/examples/trace-redis.js +++ b/examples/trace-redis.js @@ -9,9 +9,8 @@ // A small example showing Elastic APM tracing the 'redis' package. // // This assumes a Redis server running on localhost. You can use: -// npm run docker:start -// to start an Redis docker container (and other containers used for -// testing of this project). Then `npm run docker:stop` to stop them. +// npm run docker:start redis +// to start an Redis docker container. Then `npm run docker:stop` to stop it. const apm = require('../').start({ // elastic-apm-node serviceName: 'example-trace-redis4', diff --git a/test/types/index.ts b/test/types/index.ts index 6e2fa05b94..fc288a2455 100644 --- a/test/types/index.ts +++ b/test/types/index.ts @@ -161,7 +161,7 @@ apm.addMetadataFilter(filter1) apm.addMetadataFilter(filter2) apm.addMetadataFilter(filter3) -apm.flush() +apm.flush().finally(() => {}) apm.flush(() => {}) apm.destroy()