Skip to content

Commit d5fb46e

Browse files
committed
Publish to npm
1 parent 96e3f7f commit d5fb46e

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

.github/workflows/npmpublish.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ on:
88
types: [created]
99

1010
jobs:
11-
build:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v2
15-
- uses: actions/setup-node@v1
16-
with:
17-
node-version: 10
11+
# build:
12+
# runs-on: ubuntu-latest
13+
# steps:
14+
# - uses: actions/checkout@v2
15+
# - uses: actions/setup-node@v1
16+
# with:
17+
# node-version: 10
1818

1919
publish-npm:
20-
needs: build
20+
# needs: build
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v2
@@ -30,14 +30,15 @@ jobs:
3030
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
3131

3232
publish-gpr:
33-
needs: build
33+
# needs: build
3434
runs-on: ubuntu-latest
3535
steps:
3636
- uses: actions/checkout@v2
3737
- uses: actions/setup-node@v1
3838
with:
3939
node-version: 10
4040
registry-url: https://npm.pkg.github.com/
41+
scope: '@Aveek-Saha'
4142
- run: npm publish
4243
env:
4344
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@
4343
"type": "git",
4444
"url": "https://github.com/Aveek-Saha/js-data-structs.git"
4545
},
46-
"publishConfig": {
47-
"registry": "https://npm.pkg.github.com/"
48-
},
4946
"author": "Aveek Saha <[email protected]>",
5047
"homepage": "https://data-structs.netlify.com/",
5148
"license": "MIT"

0 commit comments

Comments
 (0)