Skip to content

Commit 45cc570

Browse files
Merge pull request #254 from scratchfoundation/fix/publish-workflow
[UEPR-262] fix: add install before building packages
2 parents daa5775 + c1a6da1 commit 45cc570

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ jobs:
7272
npm version "$NEW_VERSION" --no-git-tag-version
7373
git add package* && git commit -m "chore(release): $NEW_VERSION [skip ci]"
7474
75+
# Install dependencies after the version update so that
76+
# the build outputs refer to the newest version of inner packages
77+
- uses: ./.github/actions/install-dependencies
78+
7579
- name: Build packages
7680
run: npm run build
7781

0 commit comments

Comments
 (0)