Skip to content

Commit

Permalink
refactor: 環境変数ファイルを移動
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed Jan 3, 2025
1 parent be35707 commit 85968ce
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
chmod +x ${{ steps.download-engine.outputs.run_path }}
# .env
cp .env.test-e2e .env
cp tests/env/.env.test-e2e .env
sed -i -e 's|"path/to/engine"|"${{ steps.download-engine.outputs.run_path }}"|' .env
# GitHub Actions 環境だとたまに50021が封じられていることがあるので、ランダムなポートを使うようにする
PORT=$(node -r net -e "server=net.createServer();server.listen(0,()=>{console.log(server.address().port);server.close()})")
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/electron/example.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ test.beforeEach(async () => {
},
{
envName: "VVPPデフォルトエンジン",
envPath: ".env.test-electron-default-vvpp",
envPath: "tests/env/.env.test-electron-default-vvpp",
},
].forEach(({ envName, envPath }) => {
test.describe(`${envName}`, () => {
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 85968ce

Please sign in to comment.