diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0ec89b5..0ef3383 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -54,6 +54,19 @@ jobs: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + cache: "npm" + registry-url: https://registry.npmjs.org + cache-dependency-path: package-lock.json + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} + - name: Login to Docker Hub uses: docker/login-action@v3 with: