Workflow for npmjs working
This commit is contained in:
15
.github/workflows/npm-publish.yaml
vendored
15
.github/workflows/npm-publish.yaml
vendored
@@ -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}}
|
@@ -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": {
|
||||
|
Reference in New Issue
Block a user