Bundle 4 jobs
This commit is contained in:
parent
26b1947b1b
commit
c3f468d323
|
@ -37,7 +37,7 @@ jobs:
|
||||||
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
|
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
|
||||||
bundle config --local deployment true
|
bundle config --local deployment true
|
||||||
bundle config --local without development
|
bundle config --local without development
|
||||||
bundle install --jobs $(($(nproc) > 4 ? 4 : $(nproc) - 1))
|
bundle install --jobs 4
|
||||||
bundle clean
|
bundle clean
|
||||||
|
|
||||||
- name: Setup licensed
|
- name: Setup licensed
|
||||||
|
|
|
@ -40,7 +40,7 @@ jobs:
|
||||||
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
|
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
|
||||||
bundle config --local deployment true
|
bundle config --local deployment true
|
||||||
bundle config --local without development
|
bundle config --local without development
|
||||||
bundle install --jobs $(($(nproc) > 4 ? 4 : $(nproc) - 1))
|
bundle install --jobs 4
|
||||||
bundle clean
|
bundle clean
|
||||||
|
|
||||||
- name: pnpm install
|
- name: pnpm install
|
||||||
|
|
|
@ -76,7 +76,7 @@ jobs:
|
||||||
bundle config --local deployment true
|
bundle config --local deployment true
|
||||||
bundle config --local without development
|
bundle config --local without development
|
||||||
bundle config --local with migrations
|
bundle config --local with migrations
|
||||||
bundle install --jobs $(($(nproc) > 4 ? 4 : $(nproc) - 1))
|
bundle install --jobs 4
|
||||||
bundle clean
|
bundle clean
|
||||||
|
|
||||||
- name: pnpm install
|
- name: pnpm install
|
||||||
|
|
|
@ -41,7 +41,7 @@ jobs:
|
||||||
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
|
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
|
||||||
bundle config --local deployment true
|
bundle config --local deployment true
|
||||||
bundle config --local without development
|
bundle config --local without development
|
||||||
bundle install --jobs $(($(nproc) > 4 ? 4 : $(nproc) - 1))
|
bundle install --jobs 4
|
||||||
bundle clean
|
bundle clean
|
||||||
|
|
||||||
- name: Create output dir
|
- name: Create output dir
|
||||||
|
|
|
@ -115,7 +115,7 @@ jobs:
|
||||||
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
|
gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
|
||||||
bundle config --local deployment true
|
bundle config --local deployment true
|
||||||
bundle config --local without development
|
bundle config --local without development
|
||||||
bundle install --jobs $(($(nproc) > 4 ? 4 : $(nproc) - 1))
|
bundle install --jobs 4
|
||||||
bundle clean
|
bundle clean
|
||||||
|
|
||||||
- name: pnpm install
|
- name: pnpm install
|
||||||
|
@ -384,6 +384,7 @@ jobs:
|
||||||
|
|
||||||
- name: pnpm install
|
- name: pnpm install
|
||||||
run: |
|
run: |
|
||||||
|
cp -r /var/www/discourse/node_modules ./node_modules
|
||||||
pnpm config set store-dir /home/discourse/.local/share/pnpm/store/v3
|
pnpm config set store-dir /home/discourse/.local/share/pnpm/store/v3
|
||||||
pnpm install --frozen-lockfile
|
pnpm install --frozen-lockfile
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue