From 29337c16e2c07092b78b69cd4528fff35342b620 Mon Sep 17 00:00:00 2001 From: Athira Sabu <102021496+AsabuHere@users.noreply.github.com> Date: Fri, 9 Jun 2023 16:59:21 +0530 Subject: [PATCH] fix: Update Dockerfile for fixing the release failure (#540) * Update Dockerfile * use node 18 for releases --- .github/workflows/oclif-release.yml | 2 +- Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/oclif-release.yml b/.github/workflows/oclif-release.yml index 6bff98d4d..90cf12951 100644 --- a/.github/workflows/oclif-release.yml +++ b/.github/workflows/oclif-release.yml @@ -33,7 +33,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v2 with: - node-version: '16.x' + node-version: '18.x' - run: | make install npm list @twilio/cli-core diff --git a/Dockerfile b/Dockerfile index 7c3d4f278..cd9154391 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,4 +5,5 @@ RUN mkdir /twilio WORKDIR /twilio COPY . . +RUN npm install RUN npm link