diff --git a/.github/workflows/publish-pre.yml b/.github/workflows/publish-pre.yml index 8a59566..db6a14a 100644 --- a/.github/workflows/publish-pre.yml +++ b/.github/workflows/publish-pre.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 'latest' registry-url: https://registry.npmjs.org/ - name: Install dependencies run: npm ci @@ -21,8 +21,9 @@ jobs: env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} run: npm publish --tag pre --access public - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: + node-version: 'latest' registry-url: https://npm.pkg.github.com/ - name: Publish to GPR env: