Skip to content

Commit

Permalink
fix: only update deployments to node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
MexicanAce committed Jan 17, 2024
1 parent 4aac9bd commit 90b6967
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 9 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- name: "Enable yarn cache"
uses: c-hive/gha-yarn-cache@v2 # using cache

- name: "Setup node@18"
- name: "Setup node@16"
uses: actions/setup-node@v2
with:
node-version: 18
node-version: 16

- name: "Install dependencies"
run: |
Expand All @@ -41,6 +41,11 @@ jobs:
- name: "Generate dist (default network: goerli)"
run: yarn run ci:build:goerli

- name: "Setup node@18"
uses: actions/setup-node@v2
with:
node-version: 18

- name: "Deploy preview"
uses: matter-labs/action-hosting-deploy@main
id: deploy_preview
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
- name: "Enable yarn cache"
uses: c-hive/gha-yarn-cache@v2 # using cache

- name: "Setup node@18"
- name: "Setup node@16"
uses: actions/setup-node@v2
with:
node-version: 18
node-version: 16

- name: "Install dependencies"
run: |
Expand All @@ -46,7 +46,12 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 'lts/*'


- name: "Setup node@18"
uses: actions/setup-node@v2
with:
node-version: 18

- name: "Deploy target: prod-mainnet"
uses: matter-labs/action-hosting-deploy@main
with:
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- name: "Enable yarn cache"
uses: c-hive/gha-yarn-cache@v2 # using cache

- name: "Setup node@18"
- name: "Setup node@16"
uses: actions/setup-node@v2
with:
node-version: 18
node-version: 16

- name: "Install dependencies"
run: |
Expand All @@ -29,6 +29,12 @@ jobs:
- name: "Deploy target: stage-mainnet"
run: yarn run ci:build:prod

- name: "Setup node@18"
uses: actions/setup-node@v2
with:
node-version: 18

- uses: matter-labs/action-hosting-deploy@main
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
- name: "Enable yarn cache"
uses: c-hive/gha-yarn-cache@v2 # using cache

- name: "Setup node@18"
- name: "Setup node@16"
uses: actions/setup-node@v2
with:
node-version: 18
node-version: 16

- name: "Install dependencies"
run: |
Expand Down

0 comments on commit 90b6967

Please sign in to comment.