diff --git a/.github/workflows/react-sdk-publish.yml b/.github/workflows/react-sdk-publish.yml index 18eae0ce31..aceb07016b 100644 --- a/.github/workflows/react-sdk-publish.yml +++ b/.github/workflows/react-sdk-publish.yml @@ -1,3 +1,4 @@ +name: SDK publish on: push jobs: @@ -8,6 +9,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 + - run: yarn install - run: yarn publish:react-sdk - uses: JS-DevTools/npm-publish@v1 with: diff --git a/packages/react-sdk/package.json b/packages/react-sdk/package.json index f7855a4feb..accf3043f0 100644 --- a/packages/react-sdk/package.json +++ b/packages/react-sdk/package.json @@ -15,7 +15,7 @@ "postinstall": "prisma generate", "test": "jest", "checks": "yarn typecheck && yarn test", - "prepublishOnly": "yarn install && yarn checks && yarn build:lib", + "prepublishOnly": "yarn checks && yarn build:lib", "storybook:run": "start-storybook -p 6006", "storybook:build": "build-storybook" },