Skip to content

Commit 5dcc8e5

Browse files
authored
build: fix install in publish beta (#4785)
Install should happen after replace-in-files which follows symlinks and hangs when pnpm node_modules present.
1 parent d6dcf02 commit 5dcc8e5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publish-beta.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ jobs:
2525
with:
2626
ref: ${{ github.event.pull_request.head.sha || github.sha }} # HEAD commit instead of merge commit
2727

28-
- uses: ./.github/actions/ci-setup
28+
- uses: pnpm/action-setup@v4
29+
- uses: actions/setup-node@v4
30+
with:
31+
node-version: 20
32+
cache: pnpm
2933

3034
- name: Creating .npmrc
3135
run: |
@@ -49,6 +53,7 @@ jobs:
4953
--replacement="0.0.0-${{ steps.short_sha.outputs.value }}" \
5054
"**/package.json"
5155
56+
- run: pnpm install --ignore-scripts
5257
- run: pnpm --filter="webstudio..." build
5358
- run: pnpm --filter="webstudio..." dts
5459

0 commit comments

Comments
 (0)