diff --git a/.github/workflows/build-lint-typecheck-test.yaml b/.github/workflows/build-lint-typecheck-test.yaml index b84fccbb1c..0a74409582 100644 --- a/.github/workflows/build-lint-typecheck-test.yaml +++ b/.github/workflows/build-lint-typecheck-test.yaml @@ -59,7 +59,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.ref }} fetch-depth: 0 - - name: Setup + - name: setup uses: ./.github/actions/setup - name: Lint diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index b034ef6195..badc90b35d 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -105,6 +105,7 @@ jobs: run: | export NODE_OPTIONS=--max-old-space-size=6144 && RELEASE_TYPE=${{ env.RELEASE_TYPE }} yarn build ls -l ./sdk/dist/browser/checkout || echo 1 + [ -d "./sdk/dist/browser/checkout" ] || { echo "Error: Directory does not exist." && exit 1; } - name: Typecheck run: yarn typecheck