From 444df667542ee3035b96ba8923eb8b84f7bc61fe Mon Sep 17 00:00:00 2001 From: Killian Date: Mon, 15 Jun 2020 00:34:04 +0200 Subject: [PATCH] Workflow for npmjs working --- .github/workflows/npm-publish.yaml | 15 +-------------- package.json | 2 +- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index d24e1c8..12b4288 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -20,17 +20,4 @@ jobs: registry-url: https://registry.npmjs.org/ - run: npm publish env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - - publish-gpr: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 - with: - node-version: 12 - registry-url: https://npm.pkg.github.com/ - - run: npm install - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.GHUB_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} \ No newline at end of file diff --git a/package.json b/package.json index 857aa44..a6ea9a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "discord-image-generation", - "version": "1.0.3", + "version": "1.0.4", "description": "discord-image-generation is a powerfull module that allow you to generate awesome images.", "main": "src/index.js", "scripts": {