Skip to content

Commit 9fd3635

Browse files
committed
fix: use yarn to install expo cli globally
This is related to NPM failing for both iltorb and sharp dependencies. Let's work around this by using Yarn for now. expo/expo-cli#591
1 parent aff8989 commit 9fd3635

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

base/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ LABEL repository="https://github.com/expo/expo-github-action"
55
LABEL homepage="https://github.com/expo/expo-github-action/blob/master/base"
66
LABEL maintainer="Cedric van Putten <me+expo-action@bycedric.com>"
77

8-
RUN npm install --global expo-cli@2 \
9-
&& npm cache rm --force \
10-
&& rm -rf ~/.npm
8+
RUN yarn global add expo-cli@2 \
9+
&& yarn cache clean
1110

1211
COPY entrypoint.sh LICENSE.md README.md /
1312

0 commit comments

Comments
 (0)