From b0662799be31287fd8a3e34375723f8d6ed27534 Mon Sep 17 00:00:00 2001 From: georgewrmarshall Date: Fri, 15 Nov 2024 15:10:04 -0800 Subject: [PATCH] chore: updating build script and publish preview script --- .github/workflows/publish-preview.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 1e6e2424..727b1c8d 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-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-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",