Added publish steps
All checks were successful
Build / Build NPM Project (push) Successful in 15s
Build / Tag Version (push) Successful in 3s
Build / Publish (push) Successful in 4s

This commit is contained in:
Zakary Timson 2023-12-19 23:35:05 -05:00
parent 8a58160c2e
commit 14fbd7d089
3 changed files with 13 additions and 7 deletions

View File

@ -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
View File

@ -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",

View File

@ -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",