Skip to content

Commit a937ba9

Browse files
committed
use yarn to build, avoid npm peer dependency warnings for now
1 parent 3cf638a commit a937ba9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
- uses: actions/setup-node@v3
1313
with:
1414
node-version: '20.x'
15-
- run: npm install
16-
- run: npm test
15+
- run: yarn
16+
- run: yarn test
1717

1818
publish:
1919
needs: test
@@ -24,8 +24,8 @@ jobs:
2424
with:
2525
node-version: '20.x'
2626
registry-url: 'https://registry.npmjs.org'
27-
- run: npm install
28-
- run: npm run build
27+
- run: yarn
28+
- run: yarn build
2929
- run: npm version --no-git-tag-version ${{ github.event.release.tag_name }}
3030
- run: npm publish
3131
env:

0 commit comments

Comments
 (0)