From fedd07c856a6dbc9673ae0763680f1ffa4fab03f Mon Sep 17 00:00:00 2001 From: Poovamraj T T Date: Thu, 7 Dec 2023 16:21:22 +0100 Subject: [PATCH] Replace NPM with Yarn commands (#828) --- .github/actions/publish-package/action.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 }}