mirror of
				https://github.com/kuohuanhuan/x-markdown-css.git
				synced 2024-11-25 06:18:19 +00:00 
			
		
		
		
	chore(ci): use different .gitignore with GitHub Actions
				
					
				
			This commit is contained in:
		
							
								
								
									
										7
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @ -29,11 +29,16 @@ jobs: | ||||
|       - name: Build Project | ||||
|         run: npm run build | ||||
|       # Step V | ||||
|       - name: Regenerate `.gitignore` | ||||
|         run: | | ||||
|           rm -f .gitignore | ||||
|           echo 'node_modules/' >> .gitignore | ||||
|       # Step VI | ||||
|       - name: Publish to NPM Registry | ||||
|         uses: JS-DevTools/npm-publish@v1 | ||||
|         with: | ||||
|           token: ${{ secrets.NPM_TOKEN }} | ||||
|       # Step VI | ||||
|       # Step VII | ||||
|       - name: Generate Changelog | ||||
|         run: npx changelogithub@0.12 | ||||
|         env: | ||||
|  | ||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +1,2 @@ | ||||
| node_modules/ | ||||
| dist/ | ||||
|  | ||||
		Reference in New Issue
	
	Block a user