File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change 1212
1313    steps :
1414    - uses : actions/checkout@v1 
15-     - uses : actions/cache@v1 
16-       id : cache 
17-       with :
18-         path : ~/.cache 
19-         key : ${{ runner.os }}-Firebase-CLI 
2015    - name : Set up Python ${{ matrix.python }} 
2116      uses : actions/setup-python@v1 
2217      with :
@@ -31,12 +26,11 @@ jobs:
3126    - name : Test with pytest 
3227      if : success() || failure() 
3328      run : pytest 
34-     - name : Set up CLI 
35-       if : steps.cache.outputs.cache-hit != 'true' 
36-       run : | 
37-         curl -o ${HOME}/.cache/bin/firebase --create-dirs -sL https://firebase.tools/bin/linux/latest 
38-         chmod +x ${HOME}/.cache/bin/firebase 
39- name : Add Firebase to path 
40-       run : echo "::add-path::${HOME}/.cache/bin" 
29+     - name : Set up Node.js 10 
30+       uses : actions/setup-node@v1 
31+       with :
32+         node-version : 10.x 
4133    - name : Run integration tests against emulator 
42-       run : firebase emulators:exec --only database --project fake-project-id 'pytest integration/test_db.py' 
34+       run : | 
35+         npm install -g firebase-tools 
36+         firebase emulators:exec --only database --project fake-project-id 'pytest integration/test_db.py' 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments