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-dependency-path: package-lock.json
 | 
			
		||||
 | 
			
		||||
      - name: install deps
 | 
			
		||||
        run: npm ci
 | 
			
		||||
        shell: bash
 | 
			
		||||
 | 
			
		||||
      - name: clone submodule
 | 
			
		||||
        shell: bash
 | 
			
		||||
        run: |
 | 
			
		||||
| 
						 | 
				
			
			@ -28,14 +32,10 @@ jobs:
 | 
			
		|||
          git submodule update
 | 
			
		||||
          cd android
 | 
			
		||||
          git config --global --add safe.directory $(pwd)
 | 
			
		||||
 | 
			
		||||
      - name: install deps
 | 
			
		||||
        run: npm ci
 | 
			
		||||
        shell: bash
 | 
			
		||||
          git pull
 | 
			
		||||
 | 
			
		||||
      - name: Move dependency (@capacitor) into android repo
 | 
			
		||||
        run: |
 | 
			
		||||
          cd android
 | 
			
		||||
          cp -r ../node_modules/@capacitor ./
 | 
			
		||||
          sed "s/..\/node_modules\///g" -i capacitor.settings.gradle
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -53,9 +53,6 @@ jobs:
 | 
			
		|||
 | 
			
		||||
      - run: npm run init
 | 
			
		||||
 | 
			
		||||
      - name: generate layers
 | 
			
		||||
        run: npm run generate:layeroverview
 | 
			
		||||
 | 
			
		||||
      - name: Run tests
 | 
			
		||||
        run: npm run test
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue