diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 355086b19..375822edd 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Cypress run uses: cypress-io/github-action@v2 with: diff --git a/.github/workflows/dashboard-ci.yml b/.github/workflows/dashboard-ci.yml index 468919b25..1483f37aa 100644 --- a/.github/workflows/dashboard-ci.yml +++ b/.github/workflows/dashboard-ci.yml @@ -25,9 +25,9 @@ jobs: name: Check code format runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: "14" cache: "yarn" @@ -51,9 +51,9 @@ jobs: name: Build and test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: "14" cache: "yarn" @@ -96,7 +96,12 @@ jobs: # - name: Test # run: yarn test - # The code will be published to https://preview.dashboard.test.threshold.network/${{ github.head_ref }}/index.html. + # This job will be triggered for PR updates. It will build the dashboard + # using `dapp-development-goerli`-taggeed packages which contain contracts + # with values modified to help with the testing of dashboard. The code will be + # published to + # https://preview.dashboard.test.threshold.network/${{ github.head_ref }}/index.html + # and link to the deployment will be posted as a comment in the PR. build-and-deploy-testnet-preview: name: Deploy preview to testnet needs: build-and-test @@ -105,7 +110,10 @@ jobs: with: environment: goerli useUpstreamBuilds: false - dependentPackagesTag: goerli + # We use `dapp-development-goerli`-taggeed packages with modified + # contracts. They contain modifications that help with the testing of + # dashboard features. + dependentPackagesTag: dapp-development-goerli gcpBucketName: preview.dashboard.test.threshold.network gcpBucketPath: ${{ github.head_ref }} preview: true diff --git a/.github/workflows/dashboard-mainnet.yml b/.github/workflows/dashboard-mainnet.yml index eb48d9b65..75e84e317 100644 --- a/.github/workflows/dashboard-mainnet.yml +++ b/.github/workflows/dashboard-mainnet.yml @@ -13,9 +13,9 @@ jobs: name: Build for mainnet runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: "14" cache: "yarn" @@ -58,7 +58,7 @@ jobs: ETH_HOSTNAME_HTTP: ${{ secrets.MAINNET_ETH_HOSTNAME_HTTP }} ETH_HOSTNAME_WS: ${{ secrets.MAINNET_ETH_HOSTNAME_WS }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: build path: build @@ -69,9 +69,9 @@ jobs: if: github.event_name == 'push' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 - name: Deploy PR mainnet preview to GCP uses: thesis/gcp-storage-bucket-action@v3.1.0 @@ -91,9 +91,9 @@ jobs: name: mainnet runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 - name: Deploy mainnet build to GCP uses: thesis/gcp-storage-bucket-action@v3.1.0