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