$ make install
$ air
$ npx firebase --config ./e2e/simulator/firebase.json emulators:start
$ yarn graphql-markdown http://localhost:8080/query > schema.md
$ go run github.com/99designs/gqlgen generate
moq を生成
$ make moqgen
テストを実行
$ go test ./...
$ brew install k1LoW/tap/octocov
$ go test ./... -coverprofile=coverage.out
$ octocov
$ octocov ls-files
$ octocov view graph/invite.go
$ FIRESTORE_EMULATOR_HOST=localhost:3600 air
$ cd e2e
$ make create_login_yaml
$ make local_scenarigo
$ gcloud run services describe SERVICE --format export > service.yaml
# 環境変数を追加して以下を実行
$ gcloud run services replace service.yaml
$ git checkout main
$ git pull --ff-only origin main
$ git tag -a v1.0.0 -m 'リリース内容'
$ git push origin v1.0.0
$ firebase login:ci
$ base64 -i serviceAccount.review.json | pbcopy
$ base64 -i gcpServiceAccount.review.json | pbcopy
$ base64 -i .env | pbcopy
$ base64 -i envenb.go | pbcopy
$ base64 -i e2e/.env | pbcopy
$ base64 -i serviceAccount.production.json | pbcopy
$ base64 -i gcpServiceAccount.production.json | pbcopy
$ go install github.com/wheatandcat/memoir-static-analytics/checkcustomerror/cmd/[email protected]
$ go vet -vettool=$(which checkcustomerror) ./...