瀏覽代碼

set HOME env var

Yuki Takei 2 年之前
父節點
當前提交
bed24ead60
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      .github/workflows/reusable-app-prod.yml

+ 2 - 0
.github/workflows/reusable-app-prod.yml

@@ -421,6 +421,7 @@ jobs:
       run: |
         yarn playwright test --project=chromium/installer
       env:
+        HOME: /root # ref: https://github.com/microsoft/playwright/issues/6500
         MONGO_URI: mongodb://mongodb:27017/growi-playwright-installer
         ELASTICSEARCH_URI: http://localhost:${{ job.services.elasticsearch.ports['9200'] }}/growi
 
@@ -440,6 +441,7 @@ jobs:
       run: |
         yarn playwright test --project=${{ matrix.browser }} --shard=${{ matrix.shard }}
       env:
+        HOME: /root # ref: https://github.com/microsoft/playwright/issues/6500
         MONGO_URI: mongodb://mongodb:27017/growi-playwright
         ELASTICSEARCH_URI: http://localhost:${{ job.services.elasticsearch.ports['9200'] }}/growi