diff --git a/.github/workflows/publish-preview.yml b/.github/workflows/publish-preview.yml index 18981b83..c2028b92 100644 --- a/.github/workflows/publish-preview.yml +++ b/.github/workflows/publish-preview.yml @@ -53,7 +53,7 @@ jobs: id: commit-sha run: echo "COMMIT_SHA=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT" - run: yarn prepare-preview-builds @metamask-previews ${{ steps.commit-sha.outputs.COMMIT_SHA }} - - run: yarn build + - run: yarn build:previews - name: Publish preview build run: yarn publish-previews env: diff --git a/package.json b/package.json index a513341b..80186b18 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "build": "yarn ts-bridge --project tsconfig.build.json --verbose && yarn workspace @metamask/design-system-twrnc-preset build && yarn workspace @metamask/design-system-react-native build", "build:clean": "rimraf dist '**/*.tsbuildinfo' && yarn build", "build:docs": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run build:docs", + "build:previews": "yarn ts-bridge --project tsconfig.build.json --verbose && yarn workspace @metamask-previews/design-system-twrnc-preset build && yarn workspace @metamask-previews/design-system-react-native build", "build:types": "tsc --build tsconfig.build.json --verbose", "changelog:update": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run changelog:update", "changelog:validate": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run changelog:validate",