Skip to content

Commit 68666fa

Browse files
committed
chore: sync package lock on release
1 parent 74318a1 commit 68666fa

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
id: changesets
2828
uses: changesets/action@v1
2929
with:
30+
version: npx changeset version && npm install --package-lock-only
3031
publish: npx changeset publish
3132
commit: "chore: prepare release"
3233
title: "chore: prepare release"
@@ -43,12 +44,12 @@ jobs:
4344
- name: Transform Tags
4445
id: get-tags
4546
if: ${{ steps.changesets.outputs.published == 'true' }}
46-
run: echo "tags=$( echo '${{ steps.changesets.outputs.publishedPackages }}' | jq -c 'map([.name,.version]) | map(join("@")) | join(", ")' )" >> $GITHUB_OUTPUT
47+
run: echo "tags=$( echo '${{ steps.changesets.outputs.publishedPackages }}' | jq -c 'map([.name,.version]) | map(join("@")) | join(", ")' )" >> "$GITHUB_OUTPUT"
4748

4849
- name: Bundle
4950
id: bundle
5051
if: ${{ steps.changesets.outputs.published == 'true' }}
51-
uses: actions/github-script@v6
52+
uses: actions/github-script@v7
5253
with:
5354
debug: ${{ secrets.ACTIONS_RUNNER_DEBUG }}
5455
github-token: ${{ secrets.WORKFLOWS_PAT }}

0 commit comments

Comments
 (0)