Skip to content

Commit

Permalink
chore: switch from npm to yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkAtra committed Feb 15, 2023
1 parent 49f8ba8 commit e5df81a
Show file tree
Hide file tree
Showing 5 changed files with 496 additions and 1,297 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: integration-tests/infrastructure/package-lock.json
cache: 'yarn'
cache-dependency-path: integration-tests/infrastructure/yarn.lock

- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
Expand All @@ -60,8 +60,8 @@ jobs:
- name: Synth Infrastructure for Integration Tests
working-directory: integration-tests/infrastructure
run: |
npm ci
npm run synth
yarn install --immutable --immutable-cache --check-cache
yarn run synth
- name: Apply Infrastructure for Integration Tests
id: apply-infrastructure
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ This can be done by applying the Terraform CDK project found in `integration-tes
```
# cd into /integration-tests/infrastructure
cd integration-tests/infrastructure
npm ci
npm run synth
yarn install --immutable --immutable-cache --check-cache
yarn run synth
```
3. Obtain Credentials for your AWS Account. This step highly depends on how the AWS Account is set up. You'll need permissions for API Gateway, Lambda and IAM.
4. Apply the synthesized Terraform CDK Stack by running:
Expand Down
Loading

0 comments on commit e5df81a

Please sign in to comment.