Skip to content

Commit

Permalink
chore: upgrade CI workflow node env version to 20.x - skip deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasRalee committed Oct 21, 2024
1 parent cb21b28 commit 75d7770
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 47 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/admin-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ jobs:

steps:
- name: Checkout admin-ui repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: injectiveLabs/injective-admin-ui
fetch-depth: 0
path: admin-ui
token: ${{ secrets.GH_TOKEN }}
repository: injectiveLabs/injective-admin-ui

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: 20.x

- name: Install dependencies
run: |
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/bridge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ jobs:

steps:
- name: Checkout bridge repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: injectiveLabs/injective-bridge
path: bridge
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
repository: injectiveLabs/injective-bridge

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: 20.x

- name: Install dependencies
run: |
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/explorer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ jobs:

steps:
- name: Checkout explorer repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: injectiveLabs/injective-explorer
fetch-depth: 0
path: explorer
token: ${{ secrets.GH_TOKEN }}
repository: injectiveLabs/injective-explorer

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: 20.x

- name: Install dependencies
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/helix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ jobs:

steps:
- name: Checkout helix repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
repository: injectiveLabs/injective-helix
path: helix
token: ${{ secrets.GH_TOKEN }}

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: 20.x

- name: Install dependencies
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ jobs:

steps:
- name: Checkout hub repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
repository: injectiveLabs/injective-hub
path: hub
token: ${{ secrets.GH_TOKEN }}

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: 20.x

- name: Install dependencies
run: |
Expand Down
20 changes: 5 additions & 15 deletions .github/workflows/layer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ jobs:

steps:
- name: Checkout injective-ui repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: InjectiveLabs/injective-ui
fetch-depth: 0
path: injective-ui
token: ${{ secrets.GH_TOKEN }}
repository: InjectiveLabs/injective-ui

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: 20.x

- name: Install dependencies
run: |
Expand All @@ -40,14 +41,3 @@ jobs:
run: |
cd injective-ui
git push origin master
# - name: Create branch
# run: |
# cd injective-ui
# git checkout -b update-from-shared-packages

# - name: Create Pull Request
# env:
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
# run: |
# gh pr create --repo InjectiveLabs/injective-ui --head update-from-shared-packages --base master --title "Package bump" --body "This is an automated pull request created by GitHub Actions."
9 changes: 5 additions & 4 deletions .github/workflows/mito.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ jobs:

steps:
- name: Checkout mito-ui repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: mitoFinance/mito-ui
path: mito-ui
fetch-depth: 0
repository: mitoFinance/mito-ui
token: ${{ secrets.GH_TOKEN }}

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: 20.x

- name: Install dependencies
run: |
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/nuxt-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ jobs:

steps:
- name: Checkout nuxt api repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: injectiveLabs/injective-nuxt-api
path: nuxtApi
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
repository: injectiveLabs/injective-nuxt-api

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: 20.x

- name: Install dependencies
run: |
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/olp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ jobs:

steps:
- name: Checkout olp repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: injectiveLabs/injective-dmm-v2
path: olp
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
repository: injectiveLabs/injective-dmm-v2

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: 20.x

- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prod-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:

steps:
- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: 20.x

- name: Redeployment products
run: |
Expand Down

0 comments on commit 75d7770

Please sign in to comment.