Skip to content

Commit 17aec61

Browse files
committed
feat: READMEにGitHub Actionsの環境変数設定手順を追加
- PlaywrightによるE2Eテストの実行に必要な環境変数の設定方法を追記 - GitHub Actionsのシークレット設定に関するリンクを追加
1 parent 32bf71c commit 17aec61

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ microCMS 管理画面の URL(https://xxxxxxxx.microcms.io)の xxxxxxxx の
3131
開発環境 → http://localhost:3000
3232
本番環境 → https://xxxxxxxx.vercel.app/ など
3333

34+
### GitHub Actionsへの環境変数の設定
35+
36+
このリポジトリではPlaywrightによるE2Eテストが実装されています。
37+
GitHubに変更をプッシュする、あるいはPull Requestを作成すると自動でテストが実行されます。
38+
39+
利用するにはGitHub Actionsのシークレットへの設定が必要です。
40+
[こちらの手順](https://docs.github.com/ja/actions/how-tos/write-workflows/choose-what-workflows-do/use-secrets)に従って、`MICROCMS_API_KEY``MICROCMS_SERVICE_DOMAIN`をシークレットに設定してください。
41+
42+
3443
## 開発の仕方
3544

3645
1. パッケージのインストール

0 commit comments

Comments
 (0)