mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-04 07:05:41 +00:00 
			
		
		
		
	fix(backend): Bump maybe vulnerable esbuild (#9155)
* fix(backend): Bump vulnerable vanilla-extract * bump deps futher * remove @types/dompurify * bump @lingui * use more modern image 20.04 ships with node 18 as default, 24.04 with 20 * bump rest of image deps * bump deps * bump base deps * bump resolution * lower resolution * fix resolution * update lingui * switch to build-in macro * fix imports
This commit is contained in:
		
							
								
								
									
										22
									
								
								.github/workflows/qc_checks.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/qc_checks.yaml
									
									
									
									
										vendored
									
									
								
							@@ -77,7 +77,7 @@ jobs:
 | 
			
		||||
 | 
			
		||||
  pre-commit:
 | 
			
		||||
    name: Style [pre-commit]
 | 
			
		||||
    runs-on: ubuntu-20.04
 | 
			
		||||
    runs-on: ubuntu-24.04
 | 
			
		||||
    needs: paths-filter
 | 
			
		||||
    if: needs.paths-filter.outputs.server == 'true' || needs.paths-filter.outputs.frontend == 'true' || needs.paths-filter.outputs.requirements == 'true' || needs.paths-filter.outputs.force == 'true'
 | 
			
		||||
 | 
			
		||||
@@ -99,7 +99,7 @@ jobs:
 | 
			
		||||
 | 
			
		||||
  mkdocs:
 | 
			
		||||
    name: Style [Documentation]
 | 
			
		||||
    runs-on: ubuntu-20.04
 | 
			
		||||
    runs-on: ubuntu-24.04
 | 
			
		||||
 | 
			
		||||
    needs: paths-filter
 | 
			
		||||
 | 
			
		||||
@@ -127,7 +127,7 @@ jobs:
 | 
			
		||||
 | 
			
		||||
  schema:
 | 
			
		||||
    name: Tests - API Schema Documentation
 | 
			
		||||
    runs-on: ubuntu-20.04
 | 
			
		||||
    runs-on: ubuntu-24.04
 | 
			
		||||
    needs: paths-filter
 | 
			
		||||
    if: needs.paths-filter.outputs.server == 'true' || needs.paths-filter.outputs.force == 'true'
 | 
			
		||||
    env:
 | 
			
		||||
@@ -222,7 +222,7 @@ jobs:
 | 
			
		||||
 | 
			
		||||
  schema-push:
 | 
			
		||||
    name: Push new schema
 | 
			
		||||
    runs-on: ubuntu-20.04
 | 
			
		||||
    runs-on: ubuntu-24.04
 | 
			
		||||
    needs: [paths-filter, schema]
 | 
			
		||||
    if: needs.schema.result == 'success' && github.ref == 'refs/heads/master' && needs.paths-filter.outputs.api == 'true' && github.repository_owner == 'inventree'
 | 
			
		||||
    env:
 | 
			
		||||
@@ -262,7 +262,7 @@ jobs:
 | 
			
		||||
 | 
			
		||||
  python:
 | 
			
		||||
    name: Tests - inventree-python
 | 
			
		||||
    runs-on: ubuntu-20.04
 | 
			
		||||
    runs-on: ubuntu-24.04
 | 
			
		||||
 | 
			
		||||
    needs: ["pre-commit", "paths-filter"]
 | 
			
		||||
    if: needs.paths-filter.outputs.server == 'true' || needs.paths-filter.outputs.force == 'true'
 | 
			
		||||
@@ -307,7 +307,7 @@ jobs:
 | 
			
		||||
 | 
			
		||||
  coverage:
 | 
			
		||||
    name: Tests - DB [SQLite] + Coverage ${{ matrix.python_version }}
 | 
			
		||||
    runs-on: ubuntu-20.04
 | 
			
		||||
    runs-on: ubuntu-24.04
 | 
			
		||||
 | 
			
		||||
    needs: ["pre-commit", "paths-filter"]
 | 
			
		||||
    if: needs.paths-filter.outputs.server == 'true' || needs.paths-filter.outputs.force == 'true'
 | 
			
		||||
@@ -353,7 +353,7 @@ jobs:
 | 
			
		||||
 | 
			
		||||
  postgres:
 | 
			
		||||
    name: Tests - DB [PostgreSQL]
 | 
			
		||||
    runs-on: ubuntu-20.04
 | 
			
		||||
    runs-on: ubuntu-24.04
 | 
			
		||||
    needs: ["pre-commit", "paths-filter"]
 | 
			
		||||
    if: needs.paths-filter.outputs.server == 'true' || needs.paths-filter.outputs.force == 'true'
 | 
			
		||||
 | 
			
		||||
@@ -401,7 +401,7 @@ jobs:
 | 
			
		||||
 | 
			
		||||
  mysql:
 | 
			
		||||
    name: Tests - DB [MySQL]
 | 
			
		||||
    runs-on: ubuntu-20.04
 | 
			
		||||
    runs-on: ubuntu-24.04
 | 
			
		||||
 | 
			
		||||
    needs: ["pre-commit", "paths-filter"]
 | 
			
		||||
    if: needs.paths-filter.outputs.server == 'true' || needs.paths-filter.outputs.force == 'true'
 | 
			
		||||
@@ -556,7 +556,7 @@ jobs:
 | 
			
		||||
 | 
			
		||||
  platform_ui:
 | 
			
		||||
    name: Tests - Web UI
 | 
			
		||||
    runs-on: ubuntu-20.04
 | 
			
		||||
    runs-on: ubuntu-24.04
 | 
			
		||||
    timeout-minutes: 60
 | 
			
		||||
    needs: ["pre-commit", "paths-filter"]
 | 
			
		||||
    if: needs.paths-filter.outputs.frontend == 'true' || needs.paths-filter.outputs.force == 'true'
 | 
			
		||||
@@ -635,7 +635,7 @@ jobs:
 | 
			
		||||
 | 
			
		||||
  platform_ui_build:
 | 
			
		||||
    name: Build - Web UI
 | 
			
		||||
    runs-on: ubuntu-20.04
 | 
			
		||||
    runs-on: ubuntu-24.04
 | 
			
		||||
    timeout-minutes: 60
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
@@ -664,7 +664,7 @@ jobs:
 | 
			
		||||
 | 
			
		||||
  zizmor:
 | 
			
		||||
    name: Security [Zizmor]
 | 
			
		||||
    runs-on: ubuntu-20.04
 | 
			
		||||
    runs-on: ubuntu-24.04
 | 
			
		||||
    needs: ["pre-commit", "paths-filter"]
 | 
			
		||||
    if: needs.paths-filter.outputs.cicd == 'true' || needs.paths-filter.outputs.force == 'true'
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user