Rely on local mocha and ts-node instead of global in workflows
MODIFY
.github/workflows/cron.yml
.github/workflows/cron.yml
@@ -505,8 +505,6 @@ jobs:
- uses: actions/checkout@v2
- run: |-
npm install
- npm install --global mocha
- npm install --global ts-node
mocha -r ts-node/register ec2tests.ts
working-directory: ${{ matrix.source-dir }}
strategy:

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

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

Rely on local mocha and ts-node instead of global in workflows (#1061)