diff --git a/.github/workflows/ci-e2e-full.yml b/.github/workflows/ci-e2e-full.yml index b973cee8..31d37f8b 100644 --- a/.github/workflows/ci-e2e-full.yml +++ b/.github/workflows/ci-e2e-full.yml @@ -42,6 +42,7 @@ jobs: - name: devbox installer uses: jetify-com/devbox-install-action@v0.14.0 with: + project-path: shells/devbox-ios.json enable-cache: 'false' - name: Resolve iOS targets run: | @@ -88,6 +89,7 @@ jobs: - name: devbox installer uses: jetify-com/devbox-install-action@v0.14.0 with: + project-path: shells/devbox-android.json enable-cache: 'false' - name: Resolve Android targets run: | diff --git a/.github/workflows/ci-e2e-latest.yml b/.github/workflows/ci-e2e-latest.yml index 148328e6..98fd45c6 100644 --- a/.github/workflows/ci-e2e-latest.yml +++ b/.github/workflows/ci-e2e-latest.yml @@ -35,6 +35,7 @@ jobs: - name: devbox installer uses: jetify-com/devbox-install-action@v0.14.0 with: + project-path: shells/devbox-ios.json enable-cache: 'false' - name: Resolve iOS targets run: | @@ -69,6 +70,7 @@ jobs: - name: devbox installer uses: jetify-com/devbox-install-action@v0.14.0 with: + project-path: shells/devbox-android.json enable-cache: 'false' - name: Resolve Android targets run: | diff --git a/.github/workflows/ci-fast.yml b/.github/workflows/ci-fast.yml index 7e767fa9..6d110a05 100644 --- a/.github/workflows/ci-fast.yml +++ b/.github/workflows/ci-fast.yml @@ -18,6 +18,7 @@ jobs: - name: devbox installer uses: jetify-com/devbox-install-action@v0.14.0 with: + project-path: shells/devbox-fast.json enable-cache: 'false' - name: build run: devbox run --config=shells/devbox-fast.json build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d49d03f4..18f54d08 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,6 +17,7 @@ jobs: - name: devbox installer uses: jetify-com/devbox-install-action@v0.14.0 with: + project-path: shells/devbox-fast.json enable-cache: 'false' - name: build run: devbox run --config=shells/devbox-fast.json build @@ -54,6 +55,7 @@ jobs: - name: devbox installer uses: jetify-com/devbox-install-action@v0.14.0 with: + project-path: shells/devbox-ios.json enable-cache: 'false' - name: Resolve iOS targets run: | @@ -101,6 +103,7 @@ jobs: - name: devbox installer uses: jetify-com/devbox-install-action@v0.14.0 with: + project-path: shells/devbox-android.json enable-cache: 'false' - name: Resolve Android targets run: | @@ -135,10 +138,11 @@ jobs: - name: devbox installer uses: jetify-com/devbox-install-action@v0.14.0 with: + project-path: shells/devbox-fast.json enable-cache: 'false' - name: Config, Build, Release - run: devbox run release + run: devbox run --config=shells/devbox-fast.json release env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} GH_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/devbox.json b/devbox.json index 30bc3037..6dd28931 100644 --- a/devbox.json +++ b/devbox.json @@ -48,12 +48,6 @@ "AVD_FLAVOR=latest bash $SCRIPTS_DIR/android/manager.sh start" ], "start-android": ["bash $SCRIPTS_DIR/android/manager.sh start"], - "release": [ - "npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}", - "yarn install --immutable", - "yarn build", - "yarn release" - ], "update-apps": [ "yarn install --no-immutable", "yarn e2e install --no-immutable", diff --git a/shells/devbox-fast.json b/shells/devbox-fast.json index 0870e0cd..2413eb4e 100644 --- a/shells/devbox-fast.json +++ b/shells/devbox-fast.json @@ -11,6 +11,12 @@ "init_hook": [". $DEVBOX_PROJECT_ROOT/../scripts/shared/common.sh"], "scripts": { "build": ["bash $SCRIPTS_DIR/build.sh"], + "release": [ + "npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}", + "yarn install --immutable", + "yarn build", + "yarn release" + ], "format": ["treefmt"], "lint": ["treefmt --fail-on-change"] }