38 lines
		
	
	
		
			609 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			609 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
name: test-build
 | 
						|
 | 
						|
on:
 | 
						|
  push:
 | 
						|
    branches:
 | 
						|
      - main
 | 
						|
 | 
						|
  pull_request:
 | 
						|
    branches:
 | 
						|
      - main
 | 
						|
 | 
						|
jobs:
 | 
						|
  build:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
      - name: Checkout
 | 
						|
        uses: actions/checkout@v4
 | 
						|
 | 
						|
      - name: Set up pnpm
 | 
						|
        uses: pnpm/action-setup@v4
 | 
						|
        with:
 | 
						|
          version: 10.x
 | 
						|
 | 
						|
      - name: Set up Node.js
 | 
						|
        uses: actions/setup-node@v4
 | 
						|
        with:
 | 
						|
          node-version: 22.21.0
 | 
						|
          cache: pnpm
 | 
						|
 | 
						|
      - name: Install Dependencies
 | 
						|
        run: pnpm install
 | 
						|
 | 
						|
      - name: Lint Code
 | 
						|
        run: pnpm lint
 | 
						|
 | 
						|
      - name: Build Project
 | 
						|
        run: pnpm build
 |