Compare commits
	
		
			2 Commits
		
	
	
		
			Schedule/m
			...
			7326889f32
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						7326889f32
	
				 | 
					
					
						|||
| 
						
						
							
						
						12fdb0d4b7
	
				 | 
					
					
						
@ -1,19 +1,19 @@
 | 
			
		||||
name: deploy to production
 | 
			
		||||
run-name: ${{ gitea.actor }} has pushed to production
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches:
 | 
			
		||||
      - master 
 | 
			
		||||
  workflow_dispatch:
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  deploy-frontend:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: fetching the repo 
 | 
			
		||||
        uses: actions/checkout@v4
 | 
			
		||||
      - name: installing npm dependencies
 | 
			
		||||
      - uses: actions/checkout@v4
 | 
			
		||||
      - uses: actions/node-setup
 | 
			
		||||
        working-directory: ./frontend
 | 
			
		||||
        run: npm install
 | 
			
		||||
      - name: building 
 | 
			
		||||
        working-directory: ./frontend
 | 
			
		||||
        run: npm run build 
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										35
									
								
								.gitea/workflows/tests.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								.gitea/workflows/tests.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,35 @@
 | 
			
		||||
name: Build and test FrontEnd 
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches: [ master ]
 | 
			
		||||
  pull_request:
 | 
			
		||||
    branches: [ master ]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  Build:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v4
 | 
			
		||||
    - name: Use Node.js ${{ matrix.node-version }}
 | 
			
		||||
      uses: actions/setup-node@v3
 | 
			
		||||
      working-directory: ./frontend
 | 
			
		||||
    - run: npm ci 
 | 
			
		||||
      name: clean install
 | 
			
		||||
      working-directory: ./frontend
 | 
			
		||||
    - run: npm run build --if-present
 | 
			
		||||
      name: build
 | 
			
		||||
      working-directory: ./frontend
 | 
			
		||||
  Test:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v4
 | 
			
		||||
    - name: Use Node.js ${{ matrix.node-version }}
 | 
			
		||||
      uses: actions/setup-node@v3
 | 
			
		||||
      working-directory: ./frontend
 | 
			
		||||
    - run: npm ci
 | 
			
		||||
      name: clean install
 | 
			
		||||
      working-directory: ./frontend
 | 
			
		||||
    - run: npm run test:unit
 | 
			
		||||
      name: test
 | 
			
		||||
      working-directory: ./frontend
 | 
			
		||||
							
								
								
									
										2643
									
								
								frontend/package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										2643
									
								
								frontend/package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user