diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml new file mode 100644 index 0000000..9af6502 --- /dev/null +++ b/.github/workflows/npm-publish.yml @@ -0,0 +1,20 @@ +name: Publish to Verdaccio + +on: + push: + branches: + - upm + +jobs: + publish-npm: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + registry-url: http://npm.ugavel.com/ + - run: npm publish + working-directory: ./ + env: + NODE_AUTH_TOKEN: ${{secrets.VERDACCIO_TOKEN}} diff --git a/package.json b/package.json index 7989fb5..9f11729 100644 --- a/package.json +++ b/package.json @@ -1,28 +1,38 @@ { - "name": "edu.uga.engr.vel.velnet", - "displayName": "VelNet", - "version": "1.1.6", - "unity": "2019.1", - "description": "A custom networking library for Unity.", - "keywords": [ - "networking", - "self-hosted" - ], - "author": { - "name": "Virtual Experiences Laboratory", - "email": "kjohnsen@uga.edu", - "url": "https://vel.engr.uga.edu" - }, - "samples": [ - { - "displayName": "Example Dissonance", - "description": "Example Scene with Dissonance Integration Required", - "path": "Samples~/ExampleDissonance" - }, - { - "displayName": "Example VEL Voice", - "description": "Example Scene using Built-in VEL Voice", - "path": "Samples~/ExampleVelVoice" - } - ] + "name": "edu.uga.engr.vel.velnet", + "displayName": "VelNet", + "version": "1.1.7", + "unity": "2019.1", + "description": "A custom networking library for Unity.", + "keywords": [ + "networking", + "self-hosted" + ], + "author": { + "name": "Virtual Experiences Laboratory", + "email": "kjohnsen@uga.edu", + "url": "https://vel.engr.uga.edu" + }, + "samples": [ + { + "displayName": "Basic Example", + "description": "Example Scene with minimal setup", + "path": "Samples~/BasicExample" + }, + { + "displayName": "Full Example", + "description": "Example Scene with VelVoice and several example sync scripts", + "path": "Samples~/FullExample" + }, + { + "displayName": "VEL Voice Example", + "description": "Example Scene using Built-in VEL Voice", + "path": "Samples~/VelVoiceExample" + }, + { + "displayName": "Dissonance Example", + "description": "Example Scene with Dissonance Integration Required", + "path": "Samples~/DissonanceExample" + } + ] } \ No newline at end of file