Skip to content

Commit 733af8a

Browse files
committed
Make installs frozen
1 parent 0c031fa commit 733af8a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/benchmark.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ jobs:
224224

225225
- name: Install Node modules with Yarn for Core dummy app
226226
if: env.RUN_CORE
227-
run: cd spec/dummy && yarn install --no-progress --no-emoji
227+
run: cd spec/dummy && yarn install --frozen-lockfile --no-progress --no-emoji
228228

229229
- name: Save Core dummy app ruby gems to cache
230230
if: env.RUN_CORE
@@ -239,7 +239,8 @@ jobs:
239239
cd spec/dummy
240240
bundle lock --add-platform 'x86_64-linux'
241241
bundle config set path vendor/bundle
242-
bundle _2.5.4_ check || bundle _2.5.4_ install --jobs=4 --retry=3
242+
bundle config set frozen true
243+
bundle _2.5.4_ install --jobs=4 --retry=3
243244
244245
- name: Prepare Core production assets
245246
if: env.RUN_CORE
@@ -379,7 +380,8 @@ jobs:
379380
cd react_on_rails_pro/spec/dummy
380381
bundle lock --add-platform 'x86_64-linux'
381382
bundle config set path vendor/bundle
382-
bundle _2.5.4_ check || bundle _2.5.4_ install --jobs=4 --retry=3
383+
bundle config set frozen true
384+
bundle _2.5.4_ install --jobs=4 --retry=3
383385
384386
- name: Generate file-system based entrypoints for Pro
385387
if: env.RUN_PRO

0 commit comments

Comments
 (0)