Skip to content

Commit 436e583

Browse files
authored
switch to yarn
1 parent 159f0d6 commit 436e583

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/publish-packages.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020

2121
- name: Package
2222
run: |
23-
npm ci
24-
npm run build
25-
npm run package:macos
23+
yarn install --frozen-lockfile
24+
yarn run build
25+
yarn run package:macos
2626
2727
- name: Create tarball
2828
run: |
@@ -49,9 +49,9 @@ jobs:
4949

5050
- name: Package
5151
run: |
52-
npm ci
53-
npm run build
54-
npm run package:linux
52+
yarn ci
53+
yarn run build
54+
yarn run package:linux
5555
5656
- name: Create tarball
5757
run: |
@@ -83,9 +83,9 @@ jobs:
8383
- name: Build and publish to npm registry
8484
continue-on-error: true
8585
run: |
86-
npm ci
87-
npm run build
88-
npm publish --access public
86+
yarn ci
87+
yarn run build
88+
yarn publish --access public
8989
env:
9090
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
9191

@@ -96,7 +96,7 @@ jobs:
9696

9797
- name: Publish to GitHub registry
9898
continue-on-error: true
99-
run: npm publish
99+
run: yarn publish
100100
env:
101101
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102102

0 commit comments

Comments
 (0)