From 23ee0a089049e97da834bca080d2b30f144fe482 Mon Sep 17 00:00:00 2001 From: Joseph Hale Date: Sun, 8 Jun 2025 00:57:17 -0700 Subject: [PATCH] ci: Switch to `npm` instead of `yarn` The 0.78.2 upgrade switched from Yarn to npm. --- .github/workflows/android.yml | 4 ++-- .github/workflows/checks.yml | 8 ++++---- .github/workflows/ios.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 0d7a5d5..5638a8d 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -23,9 +23,9 @@ jobs: uses: actions/setup-node@v4 with: node-version-file: 'package.json' - cache: 'yarn' + cache: 'npm' - name: Install Node dependencies - run: yarn install + run: npm install - name: Build Application run: | echo $SECRETS_TAR_GZ_B64 | base64 -d | tar -xz -C fastlane diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 0d7de5c..58a8502 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -14,11 +14,11 @@ jobs: uses: actions/setup-node@v4 with: node-version-file: 'package.json' - cache: 'yarn' + cache: 'npm' - name: Install Node dependencies - run: yarn install + run: npm install - name: Check lint rules - run: yarn lint + run: npm run lint - name: Run JavaScript Tests - run: yarn test + run: npm run test diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 9087ea6..fcda007 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -23,9 +23,9 @@ jobs: uses: actions/setup-node@v4 with: node-version-file: 'package.json' - cache: 'yarn' + cache: 'npm' - name: Install Node dependencies - run: yarn install + run: npm install - name: Setup Cocoapods [cache] uses: actions/cache@v4 id: cocoapods-cache @@ -34,7 +34,7 @@ jobs: key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} restore-keys: ${{ runner.os }}-pods- - name: Install CocoaPods - run: yarn pods + run: npm run pods - name: Build Application run: | echo $SECRETS_TAR_GZ_B64 | base64 -d | tar -xz -C fastlane -- knotmirror 0.0.1