1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

feat: project init

This commit is contained in:
steven 2023-03-16 08:06:41 +08:00
parent 6216fdfd35
commit aa5f5b9340

View File

@ -146,18 +146,18 @@ jobs:
key: ${{ runner.os }}-metro-v1-${{ github.run_id }} key: ${{ runner.os }}-metro-v1-${{ github.run_id }}
restore-keys: ${{ runner.os }}-metro-v1 restore-keys: ${{ runner.os }}-metro-v1
- name: Pre-fetch Javascript bundle # - name: Pre-fetch Javascript bundle
# Prebuild the bundle so that's fast when the app starts. # # Prebuild the bundle so that's fast when the app starts.
run: | # run: |
nohup yarn tests:packager:jet-ci & # nohup yarn tests:packager:jet-ci &
printf 'Waiting for packager to come online' # printf 'Waiting for packager to come online'
until curl --output /dev/null --silent --head --fail http://localhost:8081/status; do # until curl --output /dev/null --silent --head --fail http://localhost:8081/status; do
printf '.' # printf '.'
sleep 2 # sleep 2
done # done
echo "Packager is online! Preparing javascript bundle..." # echo "Packager is online! Preparing javascript bundle..."
curl --output /dev/null --silent --head --fail "http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&inlineSourceMap=true" # curl --output /dev/null --silent --head --fail "http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&inlineSourceMap=true"
echo "...javascript bundle ready." # echo "...javascript bundle ready."
- name: AVD Boot and Snapshot Creation - name: AVD Boot and Snapshot Creation
# Only generate a snapshot with a cache miss # Only generate a snapshot with a cache miss