added deployments
This commit is contained in:
		
							parent
							
								
									538c7fd9b7
								
							
						
					
					
						commit
						5b794ead5f
					
				
					 1 changed files with 21 additions and 3 deletions
				
			
		
							
								
								
									
										24
									
								
								.github/workflows/deploy.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										24
									
								
								.github/workflows/deploy.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -25,13 +25,31 @@ jobs:
 | 
			
		|||
        uses: actions/setup-node@v4
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: 18
 | 
			
		||||
          cache: "npm"
 | 
			
		||||
 | 
			
		||||
      - name: Setup pnpm
 | 
			
		||||
        uses: pnpm/action-setup@v2
 | 
			
		||||
        with:
 | 
			
		||||
          version: latest
 | 
			
		||||
          run_install: false
 | 
			
		||||
 | 
			
		||||
      - name: Get pnpm store directory
 | 
			
		||||
        shell: bash
 | 
			
		||||
        run: |
 | 
			
		||||
          echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
 | 
			
		||||
 | 
			
		||||
      - name: Setup pnpm cache
 | 
			
		||||
        uses: actions/cache@v3
 | 
			
		||||
        with:
 | 
			
		||||
          path: ${{ env.STORE_PATH }}
 | 
			
		||||
          key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
 | 
			
		||||
          restore-keys: |
 | 
			
		||||
            ${{ runner.os }}-pnpm-store-
 | 
			
		||||
 | 
			
		||||
      - name: Install dependencies
 | 
			
		||||
        run: npm ci
 | 
			
		||||
        run: pnpm install --frozen-lockfile
 | 
			
		||||
 | 
			
		||||
      - name: Build
 | 
			
		||||
        run: npm run build
 | 
			
		||||
        run: pnpm run build
 | 
			
		||||
 | 
			
		||||
      - name: Setup Pages
 | 
			
		||||
        uses: actions/configure-pages@v4
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue