Readd github package repo
@@ -34,18 +34,17 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- # This still tries to publish to npm, deactivating it for now
- # publish-gpr:
- # needs: build
- # runs-on: ubuntu-latest
- # steps:
- # - uses: actions/checkout@v2
- # - uses: actions/setup-node@v1
- # with:
- # node-version: 14
- # registry-url: https://npm.pkg.github.com/
- # - run: npm i
- # - run: npm run build
- # - run: npm publish
- # env:
- # NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
+ publish-gpr:
+ needs: build
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-node@v1
+ with:
+ node-version: 14
+ registry-url: https://npm.pkg.github.com/
+ - run: npm i
+ - run: npm run build
+ - run: npm publish
+ env:
+ NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
