diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 2f1c6a2..570600d 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -10,8 +10,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 16 registry-url: https://registry.npmjs.org/ @@ -31,8 +31,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 16 registry-url: https://npm.pkg.github.com @@ -43,6 +43,6 @@ jobs: - name: Build TypeScript files run: pnpm run build - - run: npm publish + - run: npm publish --registry=https://npm.pkg.github.com/ env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}