From 001f10dee8ea089d71c88bdf93f326bde6a625f7 Mon Sep 17 00:00:00 2001 From: Devin Lauderdale Date: Thu, 25 Apr 2024 13:37:28 -0500 Subject: [PATCH 1/2] add yarn to meat-runner --- images/meat-runner-22.04/dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/images/meat-runner-22.04/dockerfile b/images/meat-runner-22.04/dockerfile index 63f3331..306cd2d 100644 --- a/images/meat-runner-22.04/dockerfile +++ b/images/meat-runner-22.04/dockerfile @@ -32,5 +32,7 @@ RUN source $HOME/.bashrc RUN nvm install --lts RUN for version in $NODE_VERSIONS; do nvm install $version; done RUN nvm use --lts +# Install global NPM packages +RUN npm install -g yarn SHELL ["/bin/bash", "--login", "-c"] CMD ["/home/runner/run.sh"] \ No newline at end of file From afd3e175773d858a719abbaeb0e39549111f8607 Mon Sep 17 00:00:00 2001 From: Devin Lauderdale Date: Thu, 25 Apr 2024 13:39:39 -0500 Subject: [PATCH 2/2] add global npm packages table and add yarn to docs --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c6adc18..349bc0d 100644 --- a/README.md +++ b/README.md @@ -22,4 +22,10 @@ Home for Github Actions runner images based on `ghcr.io/actions/actions-runner` | npm | 10.5.2 | | | node | 18, 20, 21 | defaults to lts | | nvm | 0.39.7 | | -| apt-fast | latest | --no-install-recommends | \ No newline at end of file +| apt-fast | latest | --no-install-recommends | + +### List of global NPM packages installed in the image + +| Package | Version | Configuration | +|----------|------------|-------------------------| +| yarn | v1.22.29 | | \ No newline at end of file