Skip to content

Commit 7a14547

Browse files
committed
add started
1 parent 71970ae commit 7a14547

File tree

1 file changed

+4
-51
lines changed

1 file changed

+4
-51
lines changed

.circleci/config.yml

Lines changed: 4 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -118,24 +118,6 @@ commands:
118118
fi
119119
120120
jobs:
121-
post-pr-started:
122-
docker:
123-
- image: cimg/node:20.19.0-browsers
124-
resource_class: small
125-
working_directory: ~/remix-project
126-
steps:
127-
- checkout
128-
- run:
129-
name: Install @octokit/auth-app for PR commenter (started)
130-
command: |
131-
mkdir -p /tmp/pr-bot
132-
cd /tmp/pr-bot
133-
npm install --no-save @octokit/auth-app
134-
- run:
135-
name: "Post sticky PR comment: CI started"
136-
command: |
137-
NODE_PATH=/tmp/pr-bot/node_modules node scripts/post-pr-started.js || true
138-
139121
build:
140122
docker:
141123
- image: cimg/node:20.19.0-browsers
@@ -488,6 +470,10 @@ jobs:
488470
mkdir -p /tmp/pr-bot
489471
cd /tmp/pr-bot
490472
npm install --no-save @octokit/auth-app
473+
- run:
474+
name: "Post sticky PR comment: CI started"
475+
command: |
476+
NODE_PATH=/tmp/pr-bot/node_modules node scripts/post-pr-started.js || true
491477
- run:
492478
name: Wait for E2E jobs to finish (success or fail)
493479
command: |
@@ -613,13 +599,9 @@ workflows:
613599
- build:
614600
requires:
615601
- check-flaky-or-pr-tests
616-
- post-pr-started:
617-
requires:
618-
- build
619602
- remix-ide-browser:
620603
requires:
621604
- build
622-
- post-pr-started
623605
matrix:
624606
parameters:
625607
browser: ["chrome"]
@@ -632,7 +614,6 @@ workflows:
632614
- post-failed-report:
633615
requires:
634616
- build
635-
- post-pr-started
636617

637618
run_file_keyword:
638619
when: << pipeline.parameters.run_file_tests_keyword >>
@@ -642,13 +623,9 @@ workflows:
642623
- build:
643624
requires:
644625
- check-flaky-or-pr-tests
645-
- post-pr-started:
646-
requires:
647-
- build
648626
- remix-ide-browser:
649627
requires:
650628
- build
651-
- post-pr-started
652629
matrix:
653630
parameters:
654631
browser: ["chrome"]
@@ -661,7 +638,6 @@ workflows:
661638
- post-failed-report:
662639
requires:
663640
- build
664-
- post-pr-started
665641

666642
run_pr_tests:
667643
when: << pipeline.parameters.run_pr_tests >>
@@ -671,13 +647,9 @@ workflows:
671647
- build:
672648
requires:
673649
- check-flaky-or-pr-tests
674-
- post-pr-started:
675-
requires:
676-
- build
677650
- remix-ide-browser:
678651
requires:
679652
- build
680-
- post-pr-started
681653
matrix:
682654
parameters:
683655
browser: ["chrome"]
@@ -690,7 +662,6 @@ workflows:
690662
- post-failed-report:
691663
requires:
692664
- build
693-
- post-pr-started
694665

695666
run_flaky_tests:
696667
when: << pipeline.parameters.run_flaky_tests >>
@@ -700,13 +671,9 @@ workflows:
700671
- build:
701672
requires:
702673
- check-flaky-or-pr-tests
703-
- post-pr-started:
704-
requires:
705-
- build
706674
- remix-ide-browser:
707675
requires:
708676
- build
709-
- post-pr-started
710677
matrix:
711678
parameters:
712679
browser: ["chrome"]
@@ -719,30 +686,24 @@ workflows:
719686
- post-failed-report:
720687
requires:
721688
- build
722-
- post-pr-started
723689

724690
web:
725691
when: << pipeline.parameters.run_all_tests >>
726692
jobs:
727693
- build
728-
- post-pr-started:
729-
requires:
730-
- build
731694
- build-plugin:
732695
matrix:
733696
parameters:
734697
plugin: ["plugin_api"]
735698
- lint:
736699
requires:
737700
- build
738-
- post-pr-started
739701
- remix-libs
740702
- remix-test-plugins:
741703
name: test-plugin-<< matrix.plugin >>
742704
requires:
743705
- build
744706
- build-plugin
745-
- post-pr-started
746707
matrix:
747708
alias: plugins
748709
parameters:
@@ -754,7 +715,6 @@ workflows:
754715
- remix-ide-browser:
755716
requires:
756717
- build
757-
- post-pr-started
758718
matrix:
759719
alias: chrome-tests
760720
parameters:
@@ -775,7 +735,6 @@ workflows:
775735
- post-failed-report:
776736
requires:
777737
- build
778-
- post-pr-started
779738

780739
lint_only:
781740
when: << pipeline.parameters.run_lint_only >>
@@ -803,18 +762,12 @@ workflows:
803762
when: << pipeline.parameters.run_rerun_failed >>
804763
jobs:
805764
- build
806-
- post-failed-report:
807-
name: post-pr-started
808-
requires:
809-
- build
810765
- rerun-failed-e2e:
811766
requires:
812767
- build
813-
- post-pr-started
814768
history_limit: << pipeline.parameters.rerun_failed_history >>
815769
selection_mode: << pipeline.parameters.rerun_failed_mode >>
816770
workflow_name: << pipeline.parameters.rerun_failed_workflow >>
817771
- post-failed-report:
818772
requires:
819773
- build
820-
- post-pr-started

0 commit comments

Comments
 (0)