Skip to content

Commit

Permalink
fix(infra): caching node ressource for pulumi stack (passportxyz#2304)
Browse files Browse the repository at this point in the history
  • Loading branch information
nutrina authored Mar 14, 2024
1 parent cc5ec93 commit 8a0d3c2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/iam-cd-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
cache: "yarn"
cache-dependency-path: infra/package-lock.json
cache-dependency-path: infra/yarn.lock
# Update the pulumi stack with new image
- run: |
cd aws
npm install
yarn install
pulumi stack select -c gitcoin/passport/review
pulumi config -s gitcoin/passport/review set aws:region us-west-2 --non-interactive
working-directory: infra
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/iam-promote-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
cache: "yarn"
cache-dependency-path: infra/package-lock.json
cache-dependency-path: infra/yarn.lock
# Update the pulumi stack with new image
- run: |
npm install
yarn install
cd prod
pulumi stack select -c gitcoin/dpopp/production
pulumi config -s gitcoin/dpopp/production set aws:region us-east-1 --non-interactive
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/iam-promote-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
cache: "yarn"
cache-dependency-path: infra/package-lock.json
cache-dependency-path: infra/yarn.lock
# Update the pulumi stack with new image
- run: |
cd aws
npm install
yarn install
pulumi stack select -c gitcoin/passport/staging
pulumi config -s gitcoin/passport/staging set aws:region us-west-2 --non-interactive
working-directory: infra
Expand Down

0 comments on commit 8a0d3c2

Please sign in to comment.