diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index a0d33913c..126abb691 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -26,6 +26,6 @@ runs: if: ${{ inputs.skip_install == 'false' }} run: | yarn config set agora-electron-sdk-pre-built 0 - yarn install --frozen-lockfile + yarn install yarn patch-package shell: bash diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17c721051..ff9588e71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - name: Typecheck files run: | - yarn example install --frozen-lockfile + yarn example install yarn typecheck build: diff --git a/package.json b/package.json index bb7f92882..e20b8a379 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "!**/__tests__" ], "scripts": { - "postinstall": "yarn checkElectron", + "postinstall": "npm run checkElectron", "totalBuild": "cross-env-shell gulp totalBuild \\\"--INIT_CWD=$INIT_CWD\\\"", "build": "cross-env-shell gulp build \\\"--INIT_CWD=$INIT_CWD\\\"", "clean": "cross-env-shell gulp clean \\\"--INIT_CWD=$INIT_CWD\\\"",