mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	feat(ci): deploy package using GitHub Actions
This commit is contained in:
		
							
								
								
									
										21
									
								
								.github/workflows/release-package.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.github/workflows/release-package.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | |||||||
|  | name: Release | ||||||
|  | on: | ||||||
|  |     push: | ||||||
|  |  | ||||||
|  | jobs: | ||||||
|  |     publish-github-registry: | ||||||
|  |         runs-on: ubuntu-latest | ||||||
|  |         steps: | ||||||
|  |             - uses: actions/checkout@v4 | ||||||
|  |             - uses: actions/setup-node@v4 | ||||||
|  |               with: | ||||||
|  |                   node-version: 22 | ||||||
|  |                   registry-url: https://npm.pkg.github.com/ | ||||||
|  |             - run: yarn install | ||||||
|  |             - run: yarn build | ||||||
|  |             - run: yarn publish | ||||||
|  |               env: | ||||||
|  |                   NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||||||
|  | permissions: | ||||||
|  |     contents: read | ||||||
|  |     packages: write | ||||||
		Reference in New Issue
	
	Block a user