From 8091f30e4fc88efc32e190584bdfb0aea2a13bce Mon Sep 17 00:00:00 2001 From: Ashwin Kumar Date: Mon, 24 Feb 2025 16:29:57 -0800 Subject: [PATCH] cache rn: test lerna native packages diff generation --- .github/actions/node-and-build/action.yml | 20 +++++++++---------- .github/workflows/callable-e2e-test-detox.yml | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/actions/node-and-build/action.yml b/.github/actions/node-and-build/action.yml index 434e29e443a..983f2687842 100644 --- a/.github/actions/node-and-build/action.yml +++ b/.github/actions/node-and-build/action.yml @@ -36,13 +36,13 @@ runs: run: yarn shell: bash working-directory: ./amplify-js - - name: Bootstrap - if: inputs.is-prebuild != 'true' || steps.cache-build-artifacts.outputs.cache-hit != 'true' - run: yarn bootstrap - shell: bash - working-directory: ./amplify-js - - name: Build packages - if: steps.cache-build-artifacts.outputs.cache-hit != 'true' - run: yarn build - shell: bash - working-directory: ./amplify-js + # - name: Bootstrap + # if: inputs.is-prebuild != 'true' || steps.cache-build-artifacts.outputs.cache-hit != 'true' + # run: yarn bootstrap + # shell: bash + # working-directory: ./amplify-js + # - name: Build packages + # if: steps.cache-build-artifacts.outputs.cache-hit != 'true' + # run: yarn build + # shell: bash + # working-directory: ./amplify-js diff --git a/.github/workflows/callable-e2e-test-detox.yml b/.github/workflows/callable-e2e-test-detox.yml index d720f4eb439..3cb8c4e3c68 100644 --- a/.github/workflows/callable-e2e-test-detox.yml +++ b/.github/workflows/callable-e2e-test-detox.yml @@ -57,10 +57,10 @@ jobs: npx lerna version --conventional-commits --no-git-tag-version --no-push --json --yes | \ jq -c '[ .[] | select(.name | IN("@aws-amplify/react-native", "@aws-amplify/rtn-push-notification", "@aws-amplify/rtn-web-browser")) | {name, newVersion} ]' \ - > ${{ inputs.working_directory }}/lerna_versions.json + > ~/lerna_versions.json echo "After running lerna version" - cat ${{ inputs.working_directory }}/lerna_versions.json + cat ~/lerna_versions.json - name: test cache run: |