Added publish.yml

pull/54/head
MillenniumEarl 2020-11-22 15:03:58 +01:00
parent b5c59793c0
commit bee5277de0
2 changed files with 16 additions and 1 deletions

15
.github/workflows/publish.yml vendored Normal file
View File

@ -0,0 +1,15 @@
on: push
branch: ["master"]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{ {
"name": "f95api", "name": "@millenniumearl/f95api",
"version": "1.6.3", "version": "1.6.3",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,