Skip to content

Commit

Permalink
Replace NPM with Yarn commands (#828)
Browse files Browse the repository at this point in the history
  • Loading branch information
poovamraj authored Dec 7, 2023
1 parent f75cb77 commit fedd07c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/actions/publish-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit fedd07c

Please sign in to comment.