about summary refs log tree commit diff
path: root/.github/workflows/pull-request-commit.yml
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-04-04 21:19:38 -0700
committerGitHub <noreply@github.com>2024-04-04 21:19:38 -0700
commit4e59914d2afeba49ea911e19a610a6be56be6845 (patch)
treefacddf3c0df3060d1bd9ff7309e525d87ed91a4f /.github/workflows/pull-request-commit.yml
parentcddbbc4bd4aba10306cb828bebc46af3727a6fb6 (diff)
downloadvoidsky-4e59914d2afeba49ea911e19a610a6be56be6845.tar.zst
migrate to 'expo-haptics' (#3418)
* migrate to 'expo-haptics'

* run yarn install twice if necessary
Diffstat (limited to '.github/workflows/pull-request-commit.yml')
-rw-r--r--.github/workflows/pull-request-commit.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/pull-request-commit.yml b/.github/workflows/pull-request-commit.yml
index 796ebdf9b..10c9a2c5f 100644
--- a/.github/workflows/pull-request-commit.yml
+++ b/.github/workflows/pull-request-commit.yml
@@ -32,9 +32,6 @@ jobs:
           node-version-file: .nvmrc
           cache: yarn
 
-      - name: ⚙️ Install Dependencies
-        run: yarn install
-
       - name: Ensure tracking relevant branches and checkout base
         run: |
           git checkout ${{ github.head_ref }}
@@ -50,6 +47,7 @@ jobs:
           git config --global user.email "github-actions[bot]@users.noreply.github.com"
           git config --global user.name "github-actions[bot]"
           git merge --no-edit ${{ github.head_ref }}
+          yarn install
 
       - name: 🔦 Generate stats file for PR
         run: |
@@ -72,6 +70,7 @@ jobs:
       - name: 🔦 Generate stats file from base commit
         if: ${{ !steps.get-base-stats.outputs.cache-hit }}
         run: |
+          yarn install
           yarn generate-webpack-stats-file
           mv stats.json stats-base.json