mirror of
				https://github.com/threeal/cmake-action.git
				synced 2025-11-04 05:43:42 +00:00 
			
		
		
		
	build: migrate project to use pnpm
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
		
							parent
							
								
									7f678753cb
								
							
						
					
					
						commit
						2cb00640ed
					
				
							
								
								
									
										2
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							@ -1,2 +1,2 @@
 | 
			
		||||
dist/** -diff linguist-generated
 | 
			
		||||
yarn.lock -diff linguist-generated
 | 
			
		||||
pnpm-lock.yaml -diff linguist-generated
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										9
									
								
								.github/workflows/build.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/build.yaml
									
									
									
									
										vendored
									
									
								
							@ -17,11 +17,14 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          node-version-file: .nvmrc
 | 
			
		||||
 | 
			
		||||
      - name: Setup Yarn
 | 
			
		||||
        uses: threeal/setup-yarn-action@v2.0.0
 | 
			
		||||
      - name: Setup pnpm
 | 
			
		||||
        uses: threeal/setup-pnpm-action@v1.0.0
 | 
			
		||||
 | 
			
		||||
      - name: Install Dependencies
 | 
			
		||||
        run: pnpm install
 | 
			
		||||
 | 
			
		||||
      - name: Build Package
 | 
			
		||||
        run: yarn build
 | 
			
		||||
        run: pnpm build
 | 
			
		||||
 | 
			
		||||
      - name: Check Diff
 | 
			
		||||
        run: git diff && git diff-index --quiet --exit-code HEAD
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										11
									
								
								.github/workflows/check.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/check.yaml
									
									
									
									
										vendored
									
									
								
							@ -17,14 +17,17 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          node-version-file: .nvmrc
 | 
			
		||||
 | 
			
		||||
      - name: Setup Yarn
 | 
			
		||||
        uses: threeal/setup-yarn-action@v2.0.0
 | 
			
		||||
      - name: Setup pnpm
 | 
			
		||||
        uses: threeal/setup-pnpm-action@v1.0.0
 | 
			
		||||
 | 
			
		||||
      - name: Install Dependencies
 | 
			
		||||
        run: pnpm install
 | 
			
		||||
 | 
			
		||||
      - name: Check Formatting
 | 
			
		||||
        run: yarn format
 | 
			
		||||
        run: pnpm format
 | 
			
		||||
 | 
			
		||||
      - name: Check Diff
 | 
			
		||||
        run: git diff && git diff-index --quiet --exit-code HEAD
 | 
			
		||||
 | 
			
		||||
      - name: Check Lint
 | 
			
		||||
        run: yarn lint
 | 
			
		||||
        run: pnpm lint
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										9
									
								
								.github/workflows/test.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/test.yaml
									
									
									
									
										vendored
									
									
								
							@ -17,11 +17,14 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          node-version-file: .nvmrc
 | 
			
		||||
 | 
			
		||||
      - name: Setup Yarn
 | 
			
		||||
        uses: threeal/setup-yarn-action@v2.0.0
 | 
			
		||||
      - name: Setup pnpm
 | 
			
		||||
        uses: threeal/setup-pnpm-action@v1.0.0
 | 
			
		||||
 | 
			
		||||
      - name: Install Dependencies
 | 
			
		||||
        run: pnpm install
 | 
			
		||||
 | 
			
		||||
      - name: Test Package
 | 
			
		||||
        run: yarn test
 | 
			
		||||
        run: pnpm test
 | 
			
		||||
 | 
			
		||||
  test-action:
 | 
			
		||||
    name: Test Action
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@ -1,5 +1,6 @@
 | 
			
		||||
.*
 | 
			
		||||
!.git*
 | 
			
		||||
!.nvmrc
 | 
			
		||||
!.prettierignore
 | 
			
		||||
 | 
			
		||||
node_modules/
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								.prettierignore
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.prettierignore
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
			
		||||
pnpm-lock.yaml
 | 
			
		||||
@ -25,5 +25,9 @@
 | 
			
		||||
    "typescript-eslint": "^8.26.1",
 | 
			
		||||
    "vitest": "^3.0.8"
 | 
			
		||||
  },
 | 
			
		||||
  "packageManager": "yarn@4.6.0"
 | 
			
		||||
  "pnpm": {
 | 
			
		||||
    "onlyBuiltDependencies": [
 | 
			
		||||
      "esbuild"
 | 
			
		||||
    ]
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2350
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										2350
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user