mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-03 18:22:25 -06:00 
			
		
		
		
	fix directories, move lint+build to scripts
This commit is contained in:
		
					parent
					
						
							
								72d6506c84
							
						
					
				
			
			
				commit
				
					
						2297d7f65f
					
				
			
		
					 2 changed files with 8 additions and 3 deletions
				
			
		| 
						 | 
					@ -54,7 +54,7 @@ steps:
 | 
				
			||||||
      - name: yarn_cache
 | 
					      - name: yarn_cache
 | 
				
			||||||
        path: /tmp/cache
 | 
					        path: /tmp/cache
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - yarn --frozen-lockfile --cache-folder /tmp/cache
 | 
					      - yarn --frozen-lockfile --cache-folder /tmp/cache web/source
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: web-lint
 | 
					  - name: web-lint
 | 
				
			||||||
    image: node:14-alpine
 | 
					    image: node:14-alpine
 | 
				
			||||||
| 
						 | 
					@ -65,7 +65,7 @@ steps:
 | 
				
			||||||
    depends_on:
 | 
					    depends_on:
 | 
				
			||||||
      - web-setup
 | 
					      - web-setup
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - eslint web/source
 | 
					      - cd web/source && yarn run lint
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: web-build
 | 
					  - name: web-build
 | 
				
			||||||
    image: node:14-alpine
 | 
					    image: node:14-alpine
 | 
				
			||||||
| 
						 | 
					@ -76,7 +76,7 @@ steps:
 | 
				
			||||||
    depends_on:
 | 
					    depends_on:
 | 
				
			||||||
      - web-setup
 | 
					      - web-setup
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - node web/source
 | 
					      - cd web/source && yarn run build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: snapshot
 | 
					  - name: snapshot
 | 
				
			||||||
    image: superseriousbusiness/gotosocial-drone-build:0.0.7 # https://github.com/superseriousbusiness/gotosocial-drone-build
 | 
					    image: superseriousbusiness/gotosocial-drone-build:0.0.7 # https://github.com/superseriousbusiness/gotosocial-drone-build
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,6 +5,11 @@
 | 
				
			||||||
  "main": "index.js",
 | 
					  "main": "index.js",
 | 
				
			||||||
  "author": "f0x",
 | 
					  "author": "f0x",
 | 
				
			||||||
  "license": "AGPL-3.0",
 | 
					  "license": "AGPL-3.0",
 | 
				
			||||||
 | 
					  "scripts": {
 | 
				
			||||||
 | 
					    "lint": "eslint .",
 | 
				
			||||||
 | 
					    "build": "node index.js",
 | 
				
			||||||
 | 
					    "dev": "NODE_ENV=development node index.js"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
    "@reduxjs/toolkit": "^1.8.6",
 | 
					    "@reduxjs/toolkit": "^1.8.6",
 | 
				
			||||||
    "bluebird": "^3.7.2",
 | 
					    "bluebird": "^3.7.2",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue