diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index c138826..320fa90 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -8,16 +8,16 @@ on: types: [created] jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 10 + # build: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v2 + # - uses: actions/setup-node@v1 + # with: + # node-version: 10 publish-npm: - needs: build + # needs: build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -30,7 +30,7 @@ jobs: NODE_AUTH_TOKEN: ${{secrets.npm_token}} publish-gpr: - needs: build + # needs: build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -38,6 +38,7 @@ jobs: with: node-version: 10 registry-url: https://npm.pkg.github.com/ + scope: '@Aveek-Saha' - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/package.json b/package.json index 05ea4ac..0d61250 100644 --- a/package.json +++ b/package.json @@ -43,9 +43,6 @@ "type": "git", "url": "https://github.com/Aveek-Saha/js-data-structs.git" }, - "publishConfig": { - "registry": "https://npm.pkg.github.com/" - }, "author": "Aveek Saha ", "homepage": "https://data-structs.netlify.com/", "license": "MIT"