diff --git a/.github/workflows/admin-ui.yaml b/.github/workflows/admin-ui.yaml new file mode 100644 index 0000000..f8e979b --- /dev/null +++ b/.github/workflows/admin-ui.yaml @@ -0,0 +1,41 @@ +name: Package bump Admin UI + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout admin-ui repository + uses: actions/checkout@v2 + with: + repository: injectiveLabs/injective-admin-ui + path: admin-ui + token: ${{ secrets.GH_TOKEN }} + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: "18.x" + + - name: Install dependencies + run: | + cd admin-ui + yarn install + + - name: Commit changes + run: | + cd admin-ui + git config user.name "${{ github.actor }}" + git config user.email "${{ github.actor }}@users.noreply.github.com" + git add . + git commit -m "chore: package bump" + + - name: Push changes + run: | + cd admin-ui + git push origin master diff --git a/.github/workflows/bridge.yaml b/.github/workflows/bridge.yaml new file mode 100644 index 0000000..26acacd --- /dev/null +++ b/.github/workflows/bridge.yaml @@ -0,0 +1,41 @@ +name: Package bump Bridge + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout bridge repository + uses: actions/checkout@v2 + with: + repository: injectiveLabs/injective-bridge + path: bridge + token: ${{ secrets.GH_TOKEN }} + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: "18.x" + + - name: Install dependencies + run: | + cd bridge + yarn install + + - name: Commit changes + run: | + cd bridge + git config user.name "${{ github.actor }}" + git config user.email "${{ github.actor }}@users.noreply.github.com" + git add . + git commit -m "chore: package bump" + + - name: Push changes + run: | + cd bridge + git push origin dev diff --git a/.github/workflows/explorer.yaml b/.github/workflows/explorer.yaml new file mode 100644 index 0000000..ec1d72f --- /dev/null +++ b/.github/workflows/explorer.yaml @@ -0,0 +1,41 @@ +name: Package bump Explorer + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout explorer repository + uses: actions/checkout@v2 + with: + repository: injectiveLabs/injective-explorer + path: explorer + token: ${{ secrets.GH_TOKEN }} + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: "18.x" + + - name: Install dependencies + run: | + cd explorer + yarn install + + - name: Commit changes + run: | + cd explorer + git config user.name "${{ github.actor }}" + git config user.email "${{ github.actor }}@users.noreply.github.com" + git add . + git commit -m "chore: package bump" + + - name: Push changes + run: | + cd explorer + git push origin dev diff --git a/.github/workflows/helix.yaml b/.github/workflows/helix.yaml new file mode 100644 index 0000000..4ab59c3 --- /dev/null +++ b/.github/workflows/helix.yaml @@ -0,0 +1,41 @@ +name: Package bump Helix + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout helix repository + uses: actions/checkout@v2 + with: + repository: injectiveLabs/injective-helix + path: helix + token: ${{ secrets.GH_TOKEN }} + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: "18.x" + + - name: Install dependencies + run: | + cd helix + yarn install + + - name: Commit changes + run: | + cd helix + git config user.name "${{ github.actor }}" + git config user.email "${{ github.actor }}@users.noreply.github.com" + git add . + git commit -m "chore: package bump" + + - name: Push changes + run: | + cd helix + git push origin dev diff --git a/.github/workflows/hub.yaml b/.github/workflows/hub.yaml new file mode 100644 index 0000000..8526a26 --- /dev/null +++ b/.github/workflows/hub.yaml @@ -0,0 +1,41 @@ +name: Package bump Hub + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout hub repository + uses: actions/checkout@v2 + with: + repository: injectiveLabs/injective-hub + path: hub + token: ${{ secrets.GH_TOKEN }} + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: "18.x" + + - name: Install dependencies + run: | + cd hub + yarn install + + - name: Commit changes + run: | + cd hub + git config user.name "${{ github.actor }}" + git config user.email "${{ github.actor }}@users.noreply.github.com" + git add . + git commit -m "chore: package bump" + + - name: Push changes + run: | + cd hub + git push origin dev diff --git a/.github/workflows/layer.yaml b/.github/workflows/layer.yaml new file mode 100644 index 0000000..cd6529b --- /dev/null +++ b/.github/workflows/layer.yaml @@ -0,0 +1,60 @@ +name: Package bump Layer + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout injective-ui repository + uses: actions/checkout@v2 + with: + repository: InjectiveLabs/injective-ui + path: injective-ui + token: ${{ secrets.GH_TOKEN }} + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: "18.x" + + - name: Install dependencies + run: | + cd injective-ui + cd layer + yarn install + + - name: Commit changes + run: | + cd injective-ui + git config user.name "${{ github.actor }}" + git config user.email "${{ github.actor }}@users.noreply.github.com" + git add . + git commit -m "chore: package bump" + + - name: Push changes + run: | + cd injective-ui + git push origin master + + - name: Get Pull Request Number + run: | + echo ${{ github.event.issue.number }} + echo ${{ github }} + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + + # - 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." diff --git a/.github/workflows/mito.yaml b/.github/workflows/mito.yaml new file mode 100644 index 0000000..f56e8bb --- /dev/null +++ b/.github/workflows/mito.yaml @@ -0,0 +1,41 @@ +name: Package bump Mito + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout mito-ui repository + uses: actions/checkout@v2 + with: + repository: mitoFinance/mito-ui + path: mito-ui + token: ${{ secrets.GH_TOKEN }} + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: "18.x" + + - name: Install dependencies + run: | + cd mito-ui + yarn install + + - name: Commit changes + run: | + cd mito-ui + git config user.name "${{ github.actor }}" + git config user.email "${{ github.actor }}@users.noreply.github.com" + git add . + git commit -m "chore: package bump" + + - name: Push changes + run: | + cd mito-ui + git push origin dev diff --git a/.github/workflows/olp.yaml b/.github/workflows/olp.yaml new file mode 100644 index 0000000..46bdc9d --- /dev/null +++ b/.github/workflows/olp.yaml @@ -0,0 +1,41 @@ +name: Package bump OLP + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout olp repository + uses: actions/checkout@v2 + with: + repository: injectiveLabs/injective-dmm-v2 + path: olp + token: ${{ secrets.GH_TOKEN }} + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: "18.x" + + - name: Install dependencies + run: | + cd olp + yarn install + + - name: Commit changes + run: | + cd olp + git config user.name "${{ github.actor }}" + git config user.email "${{ github.actor }}@users.noreply.github.com" + git add . + git commit -m "chore: package bump" + + - name: Push changes + run: | + cd olp + git push origin master