mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 08:02:36 +09:00 
			
		
		
		
	Upgrade to Node 18 on CI (#20340)
* Upgrade to Node 18 on CI Should be pretty stable now. * restart ci Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
		
							
								
								
									
										18
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -19,7 +19,7 @@ volumes:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
steps:
 | 
					steps:
 | 
				
			||||||
  - name: deps-frontend
 | 
					  - name: deps-frontend
 | 
				
			||||||
    image: node:16
 | 
					    image: node:18
 | 
				
			||||||
    pull: always
 | 
					    pull: always
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - make deps-frontend
 | 
					      - make deps-frontend
 | 
				
			||||||
@@ -34,7 +34,7 @@ steps:
 | 
				
			|||||||
        path: /go
 | 
					        path: /go
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: lint-frontend
 | 
					  - name: lint-frontend
 | 
				
			||||||
    image: node:16
 | 
					    image: node:18
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - make lint-frontend
 | 
					      - make lint-frontend
 | 
				
			||||||
    depends_on: [deps-frontend]
 | 
					    depends_on: [deps-frontend]
 | 
				
			||||||
@@ -82,7 +82,7 @@ steps:
 | 
				
			|||||||
        path: /go
 | 
					        path: /go
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: checks-frontend
 | 
					  - name: checks-frontend
 | 
				
			||||||
    image: node:16
 | 
					    image: node:18
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - make checks-frontend
 | 
					      - make checks-frontend
 | 
				
			||||||
    depends_on: [deps-frontend]
 | 
					    depends_on: [deps-frontend]
 | 
				
			||||||
@@ -97,13 +97,13 @@ steps:
 | 
				
			|||||||
        path: /go
 | 
					        path: /go
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: test-frontend
 | 
					  - name: test-frontend
 | 
				
			||||||
    image: node:16
 | 
					    image: node:18
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - make test-frontend
 | 
					      - make test-frontend
 | 
				
			||||||
    depends_on: [lint-frontend]
 | 
					    depends_on: [lint-frontend]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: build-frontend
 | 
					  - name: build-frontend
 | 
				
			||||||
    image: node:16
 | 
					    image: node:18
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - make frontend
 | 
					      - make frontend
 | 
				
			||||||
    depends_on: [test-frontend]
 | 
					    depends_on: [test-frontend]
 | 
				
			||||||
@@ -634,7 +634,7 @@ steps:
 | 
				
			|||||||
      - git fetch --tags --force
 | 
					      - git fetch --tags --force
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: deps-frontend
 | 
					  - name: deps-frontend
 | 
				
			||||||
    image: node:16
 | 
					    image: node:18
 | 
				
			||||||
    pull: always
 | 
					    pull: always
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - make deps-frontend
 | 
					      - make deps-frontend
 | 
				
			||||||
@@ -652,7 +652,7 @@ steps:
 | 
				
			|||||||
    image: techknowlogick/xgo:go-1.18.x
 | 
					    image: techknowlogick/xgo:go-1.18.x
 | 
				
			||||||
    pull: always
 | 
					    pull: always
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
 | 
					      - curl -sL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs
 | 
				
			||||||
      - export PATH=$PATH:$GOPATH/bin
 | 
					      - export PATH=$PATH:$GOPATH/bin
 | 
				
			||||||
      - make release
 | 
					      - make release
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
@@ -753,7 +753,7 @@ steps:
 | 
				
			|||||||
      - git fetch --tags --force
 | 
					      - git fetch --tags --force
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: deps-frontend
 | 
					  - name: deps-frontend
 | 
				
			||||||
    image: node:16
 | 
					    image: node:18
 | 
				
			||||||
    pull: always
 | 
					    pull: always
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - make deps-frontend
 | 
					      - make deps-frontend
 | 
				
			||||||
@@ -771,7 +771,7 @@ steps:
 | 
				
			|||||||
    image: techknowlogick/xgo:go-1.18.x
 | 
					    image: techknowlogick/xgo:go-1.18.x
 | 
				
			||||||
    pull: always
 | 
					    pull: always
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
 | 
					      - curl -sL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs
 | 
				
			||||||
      - export PATH=$PATH:$GOPATH/bin
 | 
					      - export PATH=$PATH:$GOPATH/bin
 | 
				
			||||||
      - make release
 | 
					      - make release
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user