Bundle 4 jobs

This commit is contained in:
Alan Guo Xiang Tan 2024-09-13 17:40:34 +08:00
parent 26b1947b1b
commit c3f468d323
No known key found for this signature in database
GPG Key ID: 286D2AB58F8C86B6
5 changed files with 6 additions and 5 deletions

View File

@ -37,7 +37,7 @@ jobs:
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
bundle config --local deployment true
bundle config --local without development
bundle install --jobs $(($(nproc) > 4 ? 4 : $(nproc) - 1))
bundle install --jobs 4
bundle clean
- name: Setup licensed

View File

@ -40,7 +40,7 @@ jobs:
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
bundle config --local deployment true
bundle config --local without development
bundle install --jobs $(($(nproc) > 4 ? 4 : $(nproc) - 1))
bundle install --jobs 4
bundle clean
- name: pnpm install

View File

@ -76,7 +76,7 @@ jobs:
bundle config --local deployment true
bundle config --local without development
bundle config --local with migrations
bundle install --jobs $(($(nproc) > 4 ? 4 : $(nproc) - 1))
bundle install --jobs 4
bundle clean
- name: pnpm install

View File

@ -41,7 +41,7 @@ jobs:
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
bundle config --local deployment true
bundle config --local without development
bundle install --jobs $(($(nproc) > 4 ? 4 : $(nproc) - 1))
bundle install --jobs 4
bundle clean
- name: Create output dir

View File

@ -115,7 +115,7 @@ jobs:
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
bundle config --local deployment true
bundle config --local without development
bundle install --jobs $(($(nproc) > 4 ? 4 : $(nproc) - 1))
bundle install --jobs 4
bundle clean
- name: pnpm install
@ -384,6 +384,7 @@ jobs:
- name: pnpm install
run: |
cp -r /var/www/discourse/node_modules ./node_modules
pnpm config set store-dir /home/discourse/.local/share/pnpm/store/v3
pnpm install --frozen-lockfile