Skip to content

Commit 003568d

Browse files
fix: use --frozen-lockfile in CI to prevent yarn.lock modifications (#142)
This prevents the auto shipit command from failing due to uncommitted changes in yarn.lock that occur when yarn install modifies the lock file in CI.
1 parent d4daafa commit 003568d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
cache: 'yarn'
2525
- run: |
2626
yarn -v
27-
yarn
27+
yarn install --frozen-lockfile
2828
2929
- name: Create Release
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.ADMIN_TOKEN }}
3232
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3333
run: |
34-
yarn
34+
yarn install --frozen-lockfile
3535
yarn build
3636
yarn auto shipit

0 commit comments

Comments
 (0)