Skip to content

Commit

Permalink
Only run patch-packages in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoelg committed Feb 7, 2022
1 parent c230b24 commit 85f6202
Show file tree
Hide file tree
Showing 4 changed files with 138 additions and 40 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/prebuild-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- run: npm i
- name: Prebuild
run: |
npm run apply-patches
npm run prebuild -- --strip --all --arch ia32 -u ${{ secrets.PREBUILD_TOKEN }}
npm run prebuild -- --strip --all --arch x64 -u ${{ secrets.PREBUILD_TOKEN }}
prebuild-macos:
Expand All @@ -37,6 +38,7 @@ jobs:
- run: npm i
- name: Prebuild
run: |
npm run apply-patches
npm run prebuild -- --strip --all --arch x64 -u ${{ secrets.PREBUILD_TOKEN }}
prebuild-windows:
name: Prebuild Binaries for Windows
Expand All @@ -50,5 +52,6 @@ jobs:
- run: npm i
- name: Prebuild
run: |
npm run apply-patches
npm run prebuild -- --strip --all --arch ia32 -u ${{ secrets.PREBUILD_TOKEN }}
npm run prebuild -- --strip --all --arch x64 -u ${{ secrets.PREBUILD_TOKEN }}
3 changes: 3 additions & 0 deletions .github/workflows/prebuild-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- run: npm i
- name: Prebuild
run: |
npm run apply-patches
npm run prebuild -- --strip --all --arch ia32
npm run prebuild -- --strip --all --arch x64
prebuild-macos:
Expand All @@ -35,6 +36,7 @@ jobs:
- run: npm i
- name: Prebuild
run: |
npm run apply-patches
npm run prebuild -- --strip --all --arch x64
prebuild-windows:
name: Prebuild Binaries for Windows
Expand All @@ -48,5 +50,6 @@ jobs:
- run: npm i
- name: Prebuild
run: |
npm run apply-patches
npm run prebuild -- --strip --all --arch ia32
npm run prebuild -- --strip --all --arch x64
Loading

0 comments on commit 85f6202

Please sign in to comment.