diff --git a/.github/workflows/publish-to-github-package.yml b/.github/workflows/publish-to-github-package.yml index a54bdb9fed..c0b2c6849a 100644 --- a/.github/workflows/publish-to-github-package.yml +++ b/.github/workflows/publish-to-github-package.yml @@ -14,15 +14,17 @@ jobs: - uses: actions/setup-node@v1 with: node-version: '12.x' - registry-url: 'https://npm.pkg.github.com' + registry-url: 'https://registry.npmjs.org' - name: install run: npm install - - name: compile - run: npm run compile + - uses: actions/setup-node@v1 + with: + node-version: '12.x' + registry-url: 'https://npm.pkg.github.com' - name: publish - run: npm publish + run: npm run pub env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}