Skip to content

Instantly share code, notes, and snippets.

@kylejeske
Last active April 11, 2019 16:37
Show Gist options
  • Save kylejeske/1d64fbcbfd9b700c13c43de1e99a0464 to your computer and use it in GitHub Desktop.
Save kylejeske/1d64fbcbfd9b700c13c43de1e99a0464 to your computer and use it in GitHub Desktop.
GitHub Action File - Yarn Repo
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 <kylejeske@noreply.users.github.com>"
ADD https://gist.githubusercontent.com/kylejeske/1d64fbcbfd9b700c13c43de1e99a0464/raw/3e6c2fee1dbb028232c9b9a87010df1ff3954062/entrypoint-yarn.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
#!/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