diff --git a/.github/actions/publish-package/action.yml b/.github/actions/publish-package/action.yml index 357a97f2..5af8873f 100644 --- a/.github/actions/publish-package/action.yml +++ b/.github/actions/publish-package/action.yml @@ -17,15 +17,14 @@ runs: uses: actions/setup-node@v4 with: node-version: ${{ inputs.node-version }} - cache: 'npm' - registry-url: 'https://registry.npmjs.org' + cache: 'yarn' - name: Install dependencies shell: bash - run: npm ci + run: yarn install --frozen-lockfile - name: Publish release to NPM - run: npm publish + run: yarn publish shell: bash env: NODE_AUTH_TOKEN: ${{ inputs.npm-token }}