We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3e394d2 + 514b7ec commit e42620fCopy full SHA for e42620f
.github/workflows/build-mcpb.yml
@@ -4,6 +4,9 @@ on:
4
push:
5
branches:
6
- 'main'
7
+ pull_request:
8
+ branches:
9
+ - 'main'
10
release:
11
types: [published]
12
@@ -30,7 +33,7 @@ jobs:
30
33
needs: [pre-check]
31
34
if: |
32
35
always() &&
- (github.event_name == 'release' || needs.pre-check.outputs.skip-workflow == 'false')
36
+ (github.event_name == 'release' || github.event_name == 'pull_request' || needs.pre-check.outputs.skip-workflow == 'false')
37
strategy:
38
fail-fast: false
39
matrix:
@@ -45,6 +48,8 @@ jobs:
45
48
platform: win32
46
49
arch: x64
47
50
runs-on: ${{ matrix.os }}
51
+ env:
52
+ NODE_OPTIONS: ${{ matrix.platform == 'darwin' && '--max-old-space-size=8192' || '' }}
53
steps:
54
- name: Checkout code
55
uses: actions/checkout@v4
0 commit comments