forked from MapComplete/MapComplete
		
	Attempt to get script working
This commit is contained in:
		
							parent
							
								
									475f392cf9
								
							
						
					
					
						commit
						42030ae245
					
				
					 1 changed files with 5 additions and 8 deletions
				
			
		| 
						 | 
					@ -20,6 +20,10 @@ jobs:
 | 
				
			||||||
          cache: "npm"
 | 
					          cache: "npm"
 | 
				
			||||||
          cache-dependency-path: package-lock.json
 | 
					          cache-dependency-path: package-lock.json
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: install deps
 | 
				
			||||||
 | 
					        run: npm ci
 | 
				
			||||||
 | 
					        shell: bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: clone submodule
 | 
					      - name: clone submodule
 | 
				
			||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
| 
						 | 
					@ -28,14 +32,10 @@ jobs:
 | 
				
			||||||
          git submodule update
 | 
					          git submodule update
 | 
				
			||||||
          cd android
 | 
					          cd android
 | 
				
			||||||
          git config --global --add safe.directory $(pwd)
 | 
					          git config --global --add safe.directory $(pwd)
 | 
				
			||||||
 | 
					          git pull
 | 
				
			||||||
      - name: install deps
 | 
					 | 
				
			||||||
        run: npm ci
 | 
					 | 
				
			||||||
        shell: bash
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Move dependency (@capacitor) into android repo
 | 
					      - name: Move dependency (@capacitor) into android repo
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          cd android
 | 
					 | 
				
			||||||
          cp -r ../node_modules/@capacitor ./
 | 
					          cp -r ../node_modules/@capacitor ./
 | 
				
			||||||
          sed "s/..\/node_modules\///g" -i capacitor.settings.gradle
 | 
					          sed "s/..\/node_modules\///g" -i capacitor.settings.gradle
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -53,9 +53,6 @@ jobs:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - run: npm run init
 | 
					      - run: npm run init
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: generate layers
 | 
					 | 
				
			||||||
        run: npm run generate:layeroverview
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      - name: Run tests
 | 
					      - name: Run tests
 | 
				
			||||||
        run: npm run test
 | 
					        run: npm run test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue