mirror of
				https://github.com/cinnyapp/cinny.git
				synced 2025-11-04 06:20:28 +03:00 
			
		
		
		
	Fix nodejs version in actions (#627)
* Update prod-deploy.yml * Update netlify-dev.yml * Update build-pull-request.yml * Update build-pull-request.yml * Update netlify-dev.yml * Update prod-deploy.yml Co-authored-by: Krishan <33421343+kfiven@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									eef2d451b7
								
							
						
					
					
						commit
						8b96e0ab98
					
				
					 3 changed files with 16 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								.github/workflows/build-pull-request.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/build-pull-request.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -12,6 +12,10 @@ jobs:
 | 
			
		|||
    steps:
 | 
			
		||||
      - name: Checkout repository
 | 
			
		||||
        uses: actions/checkout@v3.0.2
 | 
			
		||||
      - name: Setup node
 | 
			
		||||
        uses: actions/setup-node@v3.3.0
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: 17.9.0
 | 
			
		||||
      - name: Build app
 | 
			
		||||
        run: npm ci && npm run build
 | 
			
		||||
      - name: Upload artifact
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								.github/workflows/netlify-dev.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/netlify-dev.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -14,6 +14,10 @@ jobs:
 | 
			
		|||
    steps:
 | 
			
		||||
      - name: Checkout repository
 | 
			
		||||
        uses: actions/checkout@v3.0.2
 | 
			
		||||
      - name: Setup node
 | 
			
		||||
        uses: actions/setup-node@v3.3.0
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: 17.9.0
 | 
			
		||||
      - name: Build and deploy to Netlify
 | 
			
		||||
        uses: jsmrcaga/action-netlify-deploy@fb6a5f936a4b06a8f7793e69fc5a022ffe39807a
 | 
			
		||||
        with:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										8
									
								
								.github/workflows/prod-deploy.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/prod-deploy.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -11,6 +11,10 @@ jobs:
 | 
			
		|||
    steps:
 | 
			
		||||
      - name: Checkout repository
 | 
			
		||||
        uses: actions/checkout@v3.0.2
 | 
			
		||||
      - name: Setup node
 | 
			
		||||
        uses: actions/setup-node@v3.3.0
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: 17.9.0
 | 
			
		||||
      - name: Build
 | 
			
		||||
        run: |
 | 
			
		||||
          npm ci
 | 
			
		||||
| 
						 | 
				
			
			@ -45,6 +49,10 @@ jobs:
 | 
			
		|||
    steps:
 | 
			
		||||
      - name: Checkout repository
 | 
			
		||||
        uses: actions/checkout@v3.0.2
 | 
			
		||||
      - name: Setup node
 | 
			
		||||
        uses: actions/setup-node@v3.3.0
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: 17.9.0
 | 
			
		||||
      - name: Build and deploy to Netlify
 | 
			
		||||
        uses: jsmrcaga/action-netlify-deploy@fb6a5f936a4b06a8f7793e69fc5a022ffe39807a
 | 
			
		||||
        with:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue