Last active
April 11, 2019 16:37
-
-
Save kylejeske/1d64fbcbfd9b700c13c43de1e99a0464 to your computer and use it in GitHub Desktop.
GitHub Action File - Yarn Repo
This file contains 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
FROM node:11 | |
LABEL "com.github.actions.name"="yarning for this" | |
LABEL "com.github.actions.description"="I yarn on this day." | |
LABEL "com.github.actions.icon"="" | |
LABEL "com.github.actions.color"="purple" | |
LABEL "repository"="https://gist.github.com/kylejeske" | |
LABEL "homepage"="https://github.com/kylejeske/" | |
LABEL "maintainer"="Kyle Jeske <[email protected]>" | |
ADD https://gist.githubusercontent.com/kylejeske/1d64fbcbfd9b700c13c43de1e99a0464/raw/3e6c2fee1dbb028232c9b9a87010df1ff3954062/entrypoint-yarn.sh /entrypoint.sh | |
ENTRYPOINT ["/entrypoint.sh"] |
This file contains 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 -l | |
set -e | |
sh -c "yarn $*" | |
#sh -c "yarn $*" || { echo "failed to execute."; exit 1 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment