Skip to content

Commit

Permalink
Merge pull request #1257 from daniel-ac-martin/stop-commiting-lockfil…
Browse files Browse the repository at this point in the history
…e-when-publishing

CI: Don't commit lockfile when publishing
  • Loading branch information
daniel-ac-martin authored Jan 6, 2025
2 parents 95e0425 + d11378a commit 009fb77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 26,091 deletions.
9 changes: 5 additions & 4 deletions .npm/version.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ sed -i -E "s/\"@(${name})\/([^\"]*)\":([^\"]*)\"[^:]+\"/\"@\1\/\2\":\3\"^${versi
{apps,components,components-internal,lib,lib-govuk}/*/package.json

# Stage modified files
git add \
{lib,lib-govuk}/*/skel/*/package.json* \
{apps,components,components-internal,lib,lib-govuk}/*/package.json
git add -f pnpm-lock.yaml
cp pnpm-lock.yaml pnpm-lock-committed.yaml
git add \
{lib,lib-govuk}/*/skel/*/package.json* \
{apps,components,components-internal,lib,lib-govuk}/*/package.json \
pnpm-lock-committed.yaml
Loading

1 comment on commit 009fb77

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://not-gov.uk as production
🚀 Deployed on https://677bbff767e57afee9a9790f--notgovuk.netlify.app

Please sign in to comment.