Skip to content

Commit 85f6202

Browse files
committed
Only run patch-packages in the CI
1 parent c230b24 commit 85f6202

File tree

4 files changed

+138
-40
lines changed

4 files changed

+138
-40
lines changed

.github/workflows/prebuild-main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- run: npm i
2424
- name: Prebuild
2525
run: |
26+
npm run apply-patches
2627
npm run prebuild -- --strip --all --arch ia32 -u ${{ secrets.PREBUILD_TOKEN }}
2728
npm run prebuild -- --strip --all --arch x64 -u ${{ secrets.PREBUILD_TOKEN }}
2829
prebuild-macos:
@@ -37,6 +38,7 @@ jobs:
3738
- run: npm i
3839
- name: Prebuild
3940
run: |
41+
npm run apply-patches
4042
npm run prebuild -- --strip --all --arch x64 -u ${{ secrets.PREBUILD_TOKEN }}
4143
prebuild-windows:
4244
name: Prebuild Binaries for Windows
@@ -50,5 +52,6 @@ jobs:
5052
- run: npm i
5153
- name: Prebuild
5254
run: |
55+
npm run apply-patches
5356
npm run prebuild -- --strip --all --arch ia32 -u ${{ secrets.PREBUILD_TOKEN }}
5457
npm run prebuild -- --strip --all --arch x64 -u ${{ secrets.PREBUILD_TOKEN }}

.github/workflows/prebuild-pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- run: npm i
2222
- name: Prebuild
2323
run: |
24+
npm run apply-patches
2425
npm run prebuild -- --strip --all --arch ia32
2526
npm run prebuild -- --strip --all --arch x64
2627
prebuild-macos:
@@ -35,6 +36,7 @@ jobs:
3536
- run: npm i
3637
- name: Prebuild
3738
run: |
39+
npm run apply-patches
3840
npm run prebuild -- --strip --all --arch x64
3941
prebuild-windows:
4042
name: Prebuild Binaries for Windows
@@ -48,5 +50,6 @@ jobs:
4850
- run: npm i
4951
- name: Prebuild
5052
run: |
53+
npm run apply-patches
5154
npm run prebuild -- --strip --all --arch ia32
5255
npm run prebuild -- --strip --all --arch x64

0 commit comments

Comments
 (0)