Skip to content

Commit 986acaa

Browse files
committed
trying something with yarn
1 parent f9a5d59 commit 986acaa

1 file changed

Lines changed: 33 additions & 25 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 33 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -150,44 +150,52 @@ jobs:
150150
- language: swift
151151
build-mode: manual
152152

153+
build-library:
154+
runs-on: ubuntu-latest
153155
steps:
154-
- name: Checkout iterable-expo-plugin
156+
- name: Checkout
155157
uses: actions/checkout@v4
156158

157-
- name: Clean DerivedData folder
158-
run: |
159-
rm -rf ~/Library/Developer/Xcode/DerivedData/*
160-
161159
- name: Setup
162160
uses: ./.github/actions/setup
163161

164-
- name: Cache cocoapods
165-
if: env.turbo_cache_hit != 1
166-
id: cocoapods-cache
167-
uses: actions/cache@v4
168-
with:
169-
path: |
170-
**/ios/Pods
171-
key: ${{ runner.os }}-cocoapods-${{ hashFiles('example/ios/Podfile.lock') }}
172-
restore-keys: |
173-
${{ runner.os }}-cocoapods-
174-
175-
- name: Install cocoapods
176-
if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
177-
run: |
178-
cd example/ios &&
179-
NO_FLIPPER=1 pod install --repo-update &&
180-
cd ..
181-
env:
182-
NO_FLIPPER: 1
162+
- name: Build package
163+
run: yarn prepare
164+
165+
# - name: Clean DerivedData folder
166+
# run: |
167+
# rm -rf ~/Library/Developer/Xcode/DerivedData/*
168+
#
169+
# - name: Setup
170+
# uses: ./.github/actions/setup
171+
#
172+
# - name: Cache cocoapods
173+
# if: env.turbo_cache_hit != 1
174+
# id: cocoapods-cache
175+
# uses: actions/cache@v4
176+
# with:
177+
# path: |
178+
# **/ios/Pods
179+
# key: ${{ runner.os }}-cocoapods-${{ hashFiles('example/ios/Podfile.lock') }}
180+
# restore-keys: |
181+
# ${{ runner.os }}-cocoapods-
182+
#
183+
# - name: Install cocoapods
184+
# if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
185+
# run: |
186+
# cd example/ios &&
187+
# NO_FLIPPER=1 pod install --repo-update &&
188+
# cd ..
189+
# env:
190+
# NO_FLIPPER: 1
183191

184192
# Initializes the CodeQL tools for scanning.
185193
- name: Initialize CodeQL
186194
uses: github/codeql-action/init@v3
187195
with:
188196
languages: ${{ matrix.language }}
189197
build-mode: ${{ matrix.build-mode }}
190-
# If you wish to specify custom queries, you can do so here or in a config file.
198+
# If you wish to specify custom queries, you can do so here or in a config file.
191199
# By default, queries listed here will override any specified in a config file.
192200
# Prefix the list here with "+" to use these queries and those in the config file.
193201

0 commit comments

Comments
 (0)