chore(setup): add yarn cache on workflow runs

This commit is contained in:
Karol Sójko
2022-08-04 08:20:01 +02:00
parent 58138c9a1f
commit c72a407095
7 changed files with 19 additions and 11 deletions

View File

@@ -26,7 +26,7 @@ jobs:
echo "${{ secrets.ANDROID_KEYSTORE }}" > keystore.keystore.asc
gpg -d --passphrase "${{ secrets.KEYSTORE_PASSPHRASE }}" --batch keystore.keystore.asc > android/app/keystore.keystore
- name: Install dependencies
run: yarn install
run: yarn install --immutable
- run: yarn build:mobile
- name: Ruby Setup for Fastlane
uses: ruby/setup-ruby@v1
@@ -82,7 +82,7 @@ jobs:
run:
echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV
- name: Install dependencies
run: yarn install && yarn install:pods
run: yarn install --immutable && yarn install:pods
- run: yarn build:mobile
- name: Set ssh connection to Github
uses: webfactory/ssh-agent@v0.4.1