Skip to content

Commit

Permalink
cache rn: test lerna native packages diff generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwin Kumar committed Feb 25, 2025
1 parent 0c05d8c commit 8091f30
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .github/actions/node-and-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/callable-e2e-test-detox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 8091f30

Please sign in to comment.