Created
November 15, 2019 07:43
-
-
Save Roms1383/16b96afa917aa56051fe4c4db6ad2fb6 to your computer and use it in GitHub Desktop.
Integration tests of a MESG Service on GitHub Actions ✅
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
npx rimraf ~/.mesg | |
mesg-cli daemon:start | |
mesg-cli account:create $MESG_ACCOUNT --passphrase $MESG_PASSPHRASE --quiet | |
mesg-cli service:create "$(mesg-cli service:compile --quiet)" --account $MESG_ACCOUNT --passphrase $MESG_PASSPHRASE --quiet > MESG_SERVICE_HASH.txt | |
mesg-cli service:start "$(cat MESG_SERVICE_HASH.txt)" --env PUSHER_APP_ID=$PUSHER_APP_ID --env PUSHER_APP_KEY=$PUSHER_APP_KEY --env PUSHER_APP_SECRET=$PUSHER_APP_SECRET --env PUSHER_CLUSTER=$PUSHER_CLUSTER --quiet > MESG_INSTANCE_HASH.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment