diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml index d3fa70ebaf..a165ae542e 100644 --- a/.github/workflows/deploy-site.yml +++ b/.github/workflows/deploy-site.yml @@ -3,6 +3,7 @@ on: push: branches: - main + workflow_dispatch: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: @@ -68,16 +69,21 @@ jobs: - name: Install dependencies run: yarn - - name: Build with VitePress + - name: Build with Vocs working-directory: site - run: | - yarn build - touch .vitepress/dist/.nojekyll + uses: nick-fields/retry@v3 + with: + timeout_minutes: 5 + max_attempts: 2 + retry_on: error + command: | + yarn build + touch dist/.nojekyll - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: - path: site/.vitepress/dist + path: site/dist # Deployment job deploy: diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index 9da2dfdab3..a7e3879283 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -74,9 +74,14 @@ jobs: run: yarn install --frozen-lockfile - name: Build + uses: nick-fields/retry@v3 env: API_KEY: ${{ secrets.API_KEY }} - run: yarn build + with: + timeout_minutes: 5 + max_attempts: 2 + retry_on: error + command: yarn build - name: Unit Test run: yarn test diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index b51730451e..934bb3c35c 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -86,16 +86,21 @@ jobs: API_KEY: ${{ secrets.API_KEY }} run: yarn lerna publish --conventional-commits --no-private --yes --no-verify-access - - name: Build with VitePress + - name: Build with Vocs working-directory: site - run: | - yarn build - touch .vitepress/dist/.nojekyll + uses: nick-fields/retry@v3 + with: + timeout_minutes: 5 + max_attempts: 2 + retry_on: error + command: | + yarn build + touch dist/.nojekyll - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: - path: site/.vitepress/dist + path: site/dist publish_site: name: Publish Docs Site diff --git a/packages/accounts/src/light-account/accounts/account.ts b/packages/accounts/src/light-account/accounts/account.ts index 4a36c3c5e6..f1c0ef78e0 100644 --- a/packages/accounts/src/light-account/accounts/account.ts +++ b/packages/accounts/src/light-account/accounts/account.ts @@ -49,7 +49,7 @@ export type LightAccount< getOwnerAddress: () => Promise
; }; -//#region CreateLightAccountParams +// [!region CreateLightAccountParams] export type CreateLightAccountParams< TTransport extends Transport = Transport, TSigner extends SmartAccountSigner = SmartAccountSigner, @@ -75,7 +75,7 @@ export type CreateLightAccountParams< version?: TLightAccountVersion; entryPoint?: EntryPointDef