Ver código fonte

work around yarn cache bug

Eugene Pankov 6 anos atrás
pai
commit
c4dfb44bc8

+ 1 - 1
.github/workflows/linux.yml

@@ -15,7 +15,7 @@ jobs:
 
 
     - name: Install deps
     - name: Install deps
       run: |
       run: |
-        yarn cache clean
+        sudo npm i -g [email protected]
         cd app
         cd app
         yarn
         yarn
         cd ..
         cd ..

+ 1 - 1
.github/workflows/macos.yml

@@ -15,8 +15,8 @@ jobs:
 
 
     - name: Install deps
     - name: Install deps
       run: |
       run: |
+        sudo npm i -g [email protected]
         cd app
         cd app
-        yarn cache clean
         yarn
         yarn
         cd ..
         cd ..
         rm app/node_modules/.yarn-integrity
         rm app/node_modules/.yarn-integrity

+ 1 - 1
.github/workflows/windows.yml

@@ -16,7 +16,7 @@ jobs:
     - name: Build
     - name: Build
       shell: powershell
       shell: powershell
       run: |
       run: |
-        yarn cache clean
+        npm i -g [email protected]
         yarn
         yarn
         node scripts/build-native.js
         node scripts/build-native.js
         yarn run build
         yarn run build