diff --git a/.circleci/config.yml b/.circleci/config.yml index e7de521ea1..9fe75412d7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -76,6 +76,42 @@ jobs: root: . paths: - "persist" + + build-remixdesktop-windows: + executor: + name: win/default # executor type + size: medium # can be medium, large, xlarge, 2xlarge + shell: bash.exe + working_directory: ~/remix-project + steps: + - checkout + - restore_cache: + key: node-20-windows-v3 + - run: + command: | + nvm install 20.0.0 + nvm use 20.0.0 + node -v + npx -v + yarn -v + - save_cache: + key: node-20-windows-v3 + paths: + - /ProgramData/nvm/v20.0.0 + + - restore_cache: + keys: + - remixdesktop-windows-deps-{{ checksum "apps/remixd-app/yarn.lock" }} + - run: + command: | + cd apps/remixdesktop/ + yarn + yarn dist + - save_cache: + key: remixdesktop-windows-deps-{{ checksum "apps/remixd-app/yarn.lock" }} + paths: + - apps/remixd-app/node_modules + build-remixdesktop-mac: macos: xcode: 14.2.0 diff --git a/apps/remixdesktop/package.json b/apps/remixdesktop/package.json index aa55060266..0deafd1395 100644 --- a/apps/remixdesktop/package.json +++ b/apps/remixdesktop/package.json @@ -12,7 +12,7 @@ "start:dev": "tsc && cross-env NODE_ENV=development electron .", "start:production": "tsc && cross-env NODE_ENV=production electron .", "pack": "tsc && electron-builder", - "dist": "tsc && electron-builder --mac --dir", + "dist": "tsc && electron-builder --dir", "postinstall": "electron-builder install-app-deps" }, "devDependencies": {