diff --git a/.github/workflows/deploy-bots.yaml b/.github/workflows/deploy-bots.yaml index 1412b17f10..393e0e17df 100644 --- a/.github/workflows/deploy-bots.yaml +++ b/.github/workflows/deploy-bots.yaml @@ -58,19 +58,8 @@ jobs: steps: - uses: actions/checkout@v4 - with: - submodules: true - - name: Initialize - run: git submodule sync --recursive - - name: update submodules - run: git submodule update --init --recursive - - - name: Install Foundry - uses: foundry-rs/foundry-toolchain@v1 - with: - version: nightly - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: node-version: 20 cache: 'yarn' @@ -107,12 +96,6 @@ jobs: steps: - uses: actions/checkout@v4 - with: - submodules: false - - name: Initialize - run: git submodule update --init --recursive - - name: update submodules - run: git submodule update --remote --merge - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 @@ -155,12 +138,6 @@ jobs: steps: - uses: actions/checkout@v4 - with: - submodules: false - - name: Initialize - run: git submodule update --init --recursive - - name: update submodules - run: git submodule update --remote --merge - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 @@ -203,12 +180,6 @@ jobs: steps: - uses: actions/checkout@v4 - with: - submodules: false - - name: Initialize - run: git submodule update --init --recursive - - name: update submodules - run: git submodule update --remote --merge - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 @@ -252,13 +223,7 @@ jobs: UPTIME_PYTH_UPDATER_API: ${{ secrets.UPTIME_PYTH_UPDATER_API }} steps: - - uses: actions/checkout@v4 - with: - submodules: false - - name: Initialize - run: git submodule update --init --recursive - - name: update submodules - run: git submodule update --remote --merge + - uses: actions/checkout@v4 - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 @@ -317,7 +282,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Login to GitHub Container Registry uses: docker/login-action@v2 diff --git a/.github/workflows/pacakge-security-push-publish.yml b/.github/workflows/pacakge-security-push-publish.yml index 078398d269..c36af74683 100644 --- a/.github/workflows/pacakge-security-push-publish.yml +++ b/.github/workflows/pacakge-security-push-publish.yml @@ -23,14 +23,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - submodules: true - - name: Initialize - run: git submodule sync --recursive - - name: update submodules - run: git submodule update --init --recursive - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: node-version: 20 cache: 'yarn' diff --git a/.github/workflows/package-chains-push-publish.yml b/.github/workflows/package-chains-push-publish.yml index 4b1da7ba67..bf6035f514 100644 --- a/.github/workflows/package-chains-push-publish.yml +++ b/.github/workflows/package-chains-push-publish.yml @@ -24,14 +24,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - submodules: true - - name: Initialize - run: git submodule sync --recursive - - name: update submodules - run: git submodule update --init --recursive - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: node-version: 20 cache: 'yarn' diff --git a/.github/workflows/package-sdk-pull-request-build-and-test.yml b/.github/workflows/package-sdk-pull-request-build-and-test.yml index 9fa42d4169..2528e978d0 100644 --- a/.github/workflows/package-sdk-pull-request-build-and-test.yml +++ b/.github/workflows/package-sdk-pull-request-build-and-test.yml @@ -29,16 +29,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - submodules: true - - name: Initialize - run: git submodule sync --recursive - - name: update submodules - run: git submodule update --init --recursive - - name: Install Foundry - uses: foundry-rs/foundry-toolchain@v1 - with: - version: nightly - uses: actions/setup-node@v2 with: diff --git a/.github/workflows/package-sdk-push-publish.yml b/.github/workflows/package-sdk-push-publish.yml index 7ca277eed9..296775068c 100644 --- a/.github/workflows/package-sdk-push-publish.yml +++ b/.github/workflows/package-sdk-push-publish.yml @@ -18,19 +18,8 @@ jobs: MNEMONIC: '${{ secrets.MNEMONIC }}' steps: - uses: actions/checkout@v4 - with: - submodules: true - - name: Initialize - run: git submodule sync --recursive - - name: update submodules - run: git submodule update --init --recursive - - - name: Install Foundry - uses: foundry-rs/foundry-toolchain@v1 - with: - version: nightly - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: node-version: 20 cache: 'yarn' diff --git a/.github/workflows/package-types-push-publish.yml b/.github/workflows/package-types-push-publish.yml index 9d70c09002..d1ab894e45 100644 --- a/.github/workflows/package-types-push-publish.yml +++ b/.github/workflows/package-types-push-publish.yml @@ -22,14 +22,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - submodules: true - - name: Initialize - run: git submodule sync --recursive - - name: update submodules - run: git submodule update --init --recursive - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: node-version: 20 cache: 'yarn' diff --git a/.github/workflows/package-ui-deploy-preview.yaml b/.github/workflows/package-ui-deploy-preview.yaml deleted file mode 100644 index 07dd8a3171..0000000000 --- a/.github/workflows/package-ui-deploy-preview.yaml +++ /dev/null @@ -1,51 +0,0 @@ -name: UI - deploy UI - -on: - pull_request: - branches: [main, development] - types: [labeled, opened, synchronize, reopened] - paths: - - 'packages/ui/**' - - 'packages/sdk/**' - - 'packages/chains/**' - - 'packages/types/**' - - 'packages/functions/**' - - '.github/workflows/package-ui-deploy.yaml' - - 'yarn.lock' - - 'netlify.toml' - -jobs: - deploy-preview: - if: contains(github.event.pull_request.labels.*.name, 'preview') - runs-on: ubuntu-latest - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - name: Initialize - run: git submodule sync --recursive - - name: update submodules - run: git submodule update --init --recursive - - - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'yarn' - - - name: Install `foundry` - uses: foundry-rs/foundry-toolchain@v1 - with: - version: nightly - - - name: Install `packages` - run: yarn install - env: - # Fixes issue: `ethereumjs-abi: The remote archive doesn't match the expected checksum` - YARN_CHECKSUM_BEHAVIOR: update - - - name: Deploy `Preview` - run: | - netlify link --filter @ionicprotocol/ui --id ${{ secrets.NETLIFY_SITE_ID_PREVIEW }} - netlify deploy --filter @ionicprotocol/ui --prod --build --context preview diff --git a/.github/workflows/package-ui-deploy.yaml b/.github/workflows/package-ui-deploy.yaml deleted file mode 100644 index 64b17461cd..0000000000 --- a/.github/workflows/package-ui-deploy.yaml +++ /dev/null @@ -1,56 +0,0 @@ -name: UI - deploy UI - -on: - push: - branches: [main, development] - paths: - - 'packages/ui/**' - - 'packages/sdk/**' - - 'packages/chains/**' - - 'packages/types/**' - - 'packages/functions/**' - - '.github/workflows/package-ui-deploy.yaml' - - 'yarn.lock' - - 'netlify.toml' - -jobs: - deploy: - runs-on: ubuntu-latest - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - name: Initialize - run: git submodule sync --recursive - - name: update submodules - run: git submodule update --init --recursive - - - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'yarn' - - - name: Install `foundry` - uses: foundry-rs/foundry-toolchain@v1 - with: - version: nightly - - - name: Install `packages` - run: yarn install - env: - # Fixes issue: `ethereumjs-abi: The remote archive doesn't match the expected checksum` - YARN_CHECKSUM_BEHAVIOR: update - - - name: Deploy `Development` - if: github.ref == 'refs/heads/development' - run: | - netlify link --filter @ionicprotocol/ui --id ${{ secrets.NETLIFY_SITE_ID_DEVELOPMENT }} - netlify deploy --filter @ionicprotocol/ui --prod --build --context development - - - name: Deploy `Production` - if: github.ref == 'refs/heads/main' - run: | - netlify link --filter @ionicprotocol/ui --id ${{ secrets.NETLIFY_SITE_ID }} - netlify deploy --filter @ionicprotocol/ui --prod --build --context production diff --git a/.github/workflows/package-ui-test.yaml b/.github/workflows/package-ui-test.yaml index 77a6452e9e..68cfee44b7 100644 --- a/.github/workflows/package-ui-test.yaml +++ b/.github/workflows/package-ui-test.yaml @@ -14,23 +14,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - submodules: true - - name: Initialize - run: git submodule sync --recursive - - name: update submodules - run: git submodule update --init --recursive - uses: actions/setup-node@v4 with: node-version: '20' cache: 'yarn' - - name: Install `foundry` - uses: foundry-rs/foundry-toolchain@v1 - with: - version: nightly - - name: Install NPM packages run: yarn install env: