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