Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update testing-unit-ts dependencies #1644

Merged
merged 1 commit into from
Jun 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -613,9 +613,9 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{matrix.nodeversion}}
registry-url: https://registry.npmjs.org
Expand All @@ -627,16 +627,14 @@ jobs:
run: echo "Currently Pulumi $(pulumi version) is installed"
- run: |-
npm install
npm install --global mocha
npm install --global ts-node
mocha -r ts-node/register ec2tests.ts
mocha -r ts-node/register bucket_pair_test.ts
npx mocha -r ts-node/register ec2tests.ts
npx mocha -r ts-node/register bucket_pair_test.ts
working-directory: ${{ matrix.source-dir }}/mocha
strategy:
fail-fast: false
matrix:
nodeversion:
- 18.x
- 20.x
platform:
- ubuntu-latest
source-dir:
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/run-tests-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -673,9 +673,9 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{matrix.nodeversion}}
registry-url: https://registry.npmjs.org
Expand All @@ -687,16 +687,14 @@ jobs:
run: echo "Currently Pulumi $(pulumi version) is installed"
- run: |-
npm install
npm install --global mocha
npm install --global ts-node
mocha -r ts-node/register ec2tests.ts
mocha -r ts-node/register bucket_pair_test.ts
npx mocha -r ts-node/register ec2tests.ts
npx mocha -r ts-node/register bucket_pair_test.ts
working-directory: ${{ matrix.source-dir }}/mocha
strategy:
fail-fast: false
matrix:
nodeversion:
- 18.x
- 20.x
platform:
- ubuntu-latest
source-dir:
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/smoke-test-cli-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -573,9 +573,9 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{matrix.nodeversion}}
registry-url: https://registry.npmjs.org
Expand All @@ -587,16 +587,14 @@ jobs:
run: echo "Currently Pulumi $(pulumi version) is installed"
- run: |-
npm install
npm install --global mocha
npm install --global ts-node
mocha -r ts-node/register ec2tests.ts
mocha -r ts-node/register bucket_pair_test.ts
npx mocha -r ts-node/register ec2tests.ts
npx mocha -r ts-node/register bucket_pair_test.ts
working-directory: ${{ matrix.source-dir }}/mocha
strategy:
fail-fast: false
matrix:
nodeversion:
- 18.x
- 20.x
platform:
- ubuntu-latest
source-dir:
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/smoke-test-provider-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,9 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{matrix.nodeversion}}
registry-url: https://registry.npmjs.org
Expand All @@ -580,16 +580,14 @@ jobs:
run: echo "Currently Pulumi $(pulumi version) is installed"
- run: |-
npm install
npm install --global mocha
npm install --global ts-node
mocha -r ts-node/register ec2tests.ts
mocha -r ts-node/register bucket_pair_test.ts
npx mocha -r ts-node/register ec2tests.ts
npx mocha -r ts-node/register bucket_pair_test.ts
working-directory: ${{ matrix.source-dir }}/mocha
strategy:
fail-fast: false
matrix:
nodeversion:
- 16.x
- 20.x
platform:
- ubuntu-latest
source-dir:
Expand Down
12 changes: 6 additions & 6 deletions testing-unit-ts/mocha/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "test-unit-ts",
"devDependencies": {
"mocha": "^9.0.0",
"ts-node": "^9.1.1",
"typescript": "^4.0.0"
"mocha": "^10.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"dependencies": {
"@pulumi/aws": "^6.0.2",
"@pulumi/pulumi": "^3.0.0",
"@types/mocha": "^9.0.0",
"@pulumi/aws": "^6.39.0",
"@pulumi/pulumi": "^3.119.0",
"@types/mocha": "^10.0.6",
"@types/node": "^13.1.8"
}
}
Loading