2222 artifactRetentionDays : 14
2323 # Bump Node memory limit
2424 NODE_OPTIONS : " --max_old_space_size=4096"
25+ PROJECT_CONFIG : ${{ secrets.TEST_PROJECT_CONFIG }}
2526
2627jobs :
2728 build :
4748 sudo apt-get install google-chrome-stable
4849 - name : Test setup and yarn install
4950 run : |
50- cp config/ci.config.json config/project.json
51+ echo $PROJECT_CONFIG > config/project.json
5152 yarn
5253 - name : build
5354 id : build
99100 - name : Unzip build artifact
100101 run : tar xf build.tar.gz
101102 - name : Test setup and yarn install
102- run : cp config/ci.config.json config/project.json
103+ run : echo $PROJECT_CONFIG > config/project.json
103104 - name : Run compat tests
104105 run : cd packages/firestore-compat && yarn run test:ci
105106
@@ -127,7 +128,7 @@ jobs:
127128 - name : Unzip build artifact
128129 run : tar xf build.tar.gz
129130 - name : Test setup and yarn install
130- run : cp config/ci.config.json config/project.json
131+ run : echo $PROJECT_CONFIG > config/project.json
131132 - name : Run tests
132133 run : cd packages/firestore && yarn run ${{ matrix.test-name }}
133134 env :
@@ -186,7 +187,7 @@ jobs:
186187 - name : Unzip build artifact
187188 run : tar xf build.tar.gz
188189 - name : Test setup and yarn install
189- run : cp config/ci.config.json config/project.json
190+ run : echo $PROJECT_CONFIG > config/project.json
190191 - name : Run compat tests
191192 run : cd packages/firestore-compat && xvfb-run yarn run test:ci
192193 env :
@@ -214,7 +215,7 @@ jobs:
214215 with :
215216 node-version : 22.10.0
216217 - name : Test setup and yarn install
217- run : cp config/ci.config.json config/project.json
218+ run : echo $PROJECT_CONFIG > config/project.json
218219 - name : Run tests
219220 run : cd packages/firestore && xvfb-run yarn run ${{ matrix.test-name }}
220221 env :
@@ -239,7 +240,7 @@ jobs:
239240 run : tar xf build.tar.gz
240241 - name : Test setup
241242 run : |
242- cp config/ci.config.json config/project.json
243+ echo $PROJECT_CONFIG > config/project.json
243244 npx playwright install webkit
244245 - name : Run compat tests
245246 run : cd packages/firestore-compat && yarn run test:ci
@@ -270,7 +271,7 @@ jobs:
270271 node-version : 22.10.0
271272 - name : Test setup
272273 run : |
273- cp config/ci.config.json config/project.json
274+ echo $PROJECT_CONFIG > config/project.json
274275 npx playwright install webkit
275276 - name : Run tests
276277 run : cd packages/firestore && yarn run ${{ matrix.test-name }}
0 commit comments