From e8323be22a8e399455c7a8e4d47c236d8490049d Mon Sep 17 00:00:00 2001 From: Douglas Duteil Date: Thu, 5 Dec 2024 13:46:31 +0100 Subject: [PATCH] ci(release): ensure to update package lock after changeset version (#877) --- .github/workflows/release.yml | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 76fa05e0b..bfc59cd00 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,6 +37,7 @@ jobs: commit: "🔖 Version Packages" publish: npx changeset publish title: "🔖 Version Packages" + version: npm run version env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 7b8778c82..3facc92c3 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "test:unit:watch": "npm run test:unit -- --watch --watch-files src/**/*.ts,test/**/*.ts", "test:workspaces": "npm run test --if-present --workspaces", "update-organization-info": "tsx scripts/update-organizations-info.ts", + "version": "changeset version && npm install --package-lock-only", "watch:assets": "NODE_ENV=development vite build --clearScreen false --watch", "watch:ejs": "CHOKIDAR_USEPOLLING=true copy-and-watch --clean --watch \"src/views/**/*.ejs\" src/views/*.ejs build/views/", "watch:js": "tsc --watch --preserveWatchOutput",