Added publish steps
This commit is contained in:
		
							
								
								
									
										12
									
								
								.github/workflows/build.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/build.yaml
									
									
									
									
										vendored
									
									
								
							@@ -9,7 +9,10 @@ jobs:
 | 
				
			|||||||
    build:
 | 
					    build:
 | 
				
			||||||
        name: Build NPM Project
 | 
					        name: Build NPM Project
 | 
				
			||||||
        runs-on: ubuntu-latest
 | 
					        runs-on: ubuntu-latest
 | 
				
			||||||
        container: node
 | 
					        container:
 | 
				
			||||||
 | 
					            image: node
 | 
				
			||||||
 | 
					            volumes:
 | 
				
			||||||
 | 
					                - '/mnt/swarm/gitea/runner/cache:/cache'
 | 
				
			||||||
        steps:
 | 
					        steps:
 | 
				
			||||||
            -   name: Clone Repository
 | 
					            -   name: Clone Repository
 | 
				
			||||||
                uses: ztimson/actions/clone@develop
 | 
					                uses: ztimson/actions/clone@develop
 | 
				
			||||||
@@ -54,11 +57,14 @@ jobs:
 | 
				
			|||||||
                    tag: ${{env.VERSION}}
 | 
					                    tag: ${{env.VERSION}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    publish:
 | 
					    publish:
 | 
				
			||||||
        name: Tag Version
 | 
					        name: Publish
 | 
				
			||||||
        needs: build
 | 
					        needs: build
 | 
				
			||||||
        if: ${{github.ref_name}} == 'release'
 | 
					        if: ${{github.ref_name}} == 'release'
 | 
				
			||||||
        runs-on: ubuntu-latest
 | 
					        runs-on: ubuntu-latest
 | 
				
			||||||
        container: node
 | 
					        container:
 | 
				
			||||||
 | 
					            image: node
 | 
				
			||||||
 | 
					            volumes:
 | 
				
			||||||
 | 
					                - '/mnt/swarm/gitea/runner/cache:/cache'
 | 
				
			||||||
        steps:
 | 
					        steps:
 | 
				
			||||||
            -   name: Clone Repository
 | 
					            -   name: Clone Repository
 | 
				
			||||||
                uses: ztimson/actions/clone@develop
 | 
					                uses: ztimson/actions/clone@develop
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										6
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@@ -1,13 +1,13 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	"name": "perstistance",
 | 
						"name": "persist",
 | 
				
			||||||
	"version": "1.0.0",
 | 
						"version": "1.0.0",
 | 
				
			||||||
	"lockfileVersion": 3,
 | 
						"lockfileVersion": 3,
 | 
				
			||||||
	"requires": true,
 | 
						"requires": true,
 | 
				
			||||||
	"packages": {
 | 
						"packages": {
 | 
				
			||||||
		"": {
 | 
							"": {
 | 
				
			||||||
			"name": "perstistance",
 | 
								"name": "persist",
 | 
				
			||||||
			"version": "1.0.0",
 | 
								"version": "1.0.0",
 | 
				
			||||||
			"license": "Apache 2.0",
 | 
								"license": "MIT",
 | 
				
			||||||
			"devDependencies": {
 | 
								"devDependencies": {
 | 
				
			||||||
				"@types/jest": "^29.5.11",
 | 
									"@types/jest": "^29.5.11",
 | 
				
			||||||
				"jest": "^29.7.0",
 | 
									"jest": "^29.7.0",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	"name": "perstistance",
 | 
						"name": "persist",
 | 
				
			||||||
	"version": "1.0.0",
 | 
						"version": "1.0.0",
 | 
				
			||||||
	"description": "Sync variables with the local/session storage using proxy objects & decorators",
 | 
						"description": "Sync variables with the local/session storage using proxy objects & decorators",
 | 
				
			||||||
	"repository": "https://git.zakscode.com/ztimson/persistance",
 | 
						"repository": "https://git.zakscode.com/ztimson/persistance",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user