Skip to content

Commit eb45ca1

Browse files
committed
allow pkg-pr-new on master
1 parent 0929b3e commit eb45ca1

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/ci.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,9 @@ jobs:
440440
path: lib/ocaml
441441

442442
pkg-pr-new:
443-
needs: [build-rewatch, build-compiler]
444-
if: github.event_name == 'pull_request'
443+
needs:
444+
- build-rewatch
445+
- build-compiler
445446
runs-on: ubuntu-24.04-arm
446447
steps:
447448
- name: Checkout
@@ -467,8 +468,8 @@ jobs:
467468
yarn dlx pkg-pr-new publish "." "./packages/@rescript/*"
468469
469470
installationTest:
470-
needs: [pkg-pr-new]
471-
if: github.event_name == 'pull_request'
471+
needs:
472+
- pkg-pr-new
472473
strategy:
473474
fail-fast: false
474475
matrix:
@@ -519,7 +520,10 @@ jobs:
519520
working-directory: ${{ steps.tmp-dir.outputs.path }}
520521

521522
publish:
522-
needs: [build-rewatch, build-compiler]
523+
needs:
524+
- build-rewatch
525+
- build-compiler
526+
- installationTest
523527
if: startsWith(github.ref, 'refs/tags/v')
524528
runs-on: ubuntu-24.04-arm
525529
steps:

0 commit comments

Comments
 (0)