Workflow for npmjs working

This commit is contained in:
2020-06-15 00:34:04 +02:00
parent c6887f212a
commit 444df66754
2 changed files with 2 additions and 15 deletions

View File

@@ -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}}

View File

@@ -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": {