Skip to content

Commit fedd07c

Browse files
authored
Replace NPM with Yarn commands (#828)
1 parent f75cb77 commit fedd07c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/actions/publish-package/action.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@ runs:
1717
uses: actions/setup-node@v4
1818
with:
1919
node-version: ${{ inputs.node-version }}
20-
cache: 'npm'
21-
registry-url: 'https://registry.npmjs.org'
20+
cache: 'yarn'
2221

2322
- name: Install dependencies
2423
shell: bash
25-
run: npm ci
24+
run: yarn install --frozen-lockfile
2625

2726
- name: Publish release to NPM
28-
run: npm publish
27+
run: yarn publish
2928
shell: bash
3029
env:
3130
NODE_AUTH_TOKEN: ${{ inputs.npm-token }}

0 commit comments

Comments
 (0)