From 0faf8d906cb066976d48908590bc1a1b18edd33e Mon Sep 17 00:00:00 2001 From: Jamil Date: Fri, 23 Jun 2023 12:42:35 -0500 Subject: [PATCH] Add pnpm to runners (#1683) Found another place where pnpm needs to be added. --- .github/workflows/elixir.yml | 6 ++++++ elixir/Dockerfile | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 2795996ce..c91e059e3 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -317,6 +317,12 @@ jobs: with: otp-version: "25" elixir-version: "1.14" + - uses: actions/setup-node@v3 + with: + node-version: 18 + - uses: pnpm/action-setup@v2 + with: + version: 8 - uses: actions/checkout@v3 - uses: actions/cache@v3 name: Elixir Deps Cache diff --git a/elixir/Dockerfile b/elixir/Dockerfile index 5349692c7..6cd1ea722 100644 --- a/elixir/Dockerfile +++ b/elixir/Dockerfile @@ -8,7 +8,10 @@ ARG RUNNER_IMAGE="alpine:${ALPINE_VERSION}" FROM ${BUILDER_IMAGE} as builder # install build dependencies -RUN apk add nodejs pnpm build-base git python3 +RUN apk add nodejs npm build-base git python3 + +# Add pnpm +RUN npm i -g pnpm # prepare build dir WORKDIR /app