Fix path to mocha
MODIFY
.github/workflows/cron.yml
.github/workflows/cron.yml
@@ -505,7 +505,7 @@ jobs:
- uses: actions/checkout@v2
- run: |-
npm install
- mocha -r ts-node/register ec2tests.ts
+ $(npm bin)/mocha -r ts-node/register ec2tests.ts
working-directory: ${{ matrix.source-dir }}
strategy:
fail-fast: false

MODIFY
.github/workflows/smoke-test-cli-command.yml
.github/workflows/smoke-test-cli-command.yml
@@ -464,7 +464,7 @@ jobs:
- uses: actions/checkout@v2
- run: |-
npm install
- mocha -r ts-node/register ec2tests.ts
+ $(npm bin)/mocha -r ts-node/register ec2tests.ts
working-directory: ${{ matrix.source-dir }}
strategy:
fail-fast: false

MODIFY
.github/workflows/smoke-test-provider-command.yml
.github/workflows/smoke-test-provider-command.yml
@@ -457,7 +457,7 @@ jobs:
- uses: actions/checkout@v2
- run: |-
npm install
- mocha -r ts-node/register ec2tests.ts
+ $(npm bin)/mocha -r ts-node/register ec2tests.ts
working-directory: ${{ matrix.source-dir }}
strategy:
fail-fast: false

Fix path to mocha (#1062)