From bee5277de030be1c924fcd6aca5dcd91c9a52acd Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Sun, 22 Nov 2020 15:03:58 +0100 Subject: [PATCH] Added publish.yml --- .github/workflows/publish.yml | 15 +++++++++++++++ package-lock.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..21efa33 --- /dev/null +++ b/.github/workflows/publish.yml @@ -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 }} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 9d71b8e..0d194bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "f95api", + "name": "@millenniumearl/f95api", "version": "1.6.3", "lockfileVersion": 1, "requires": true,