Skip to content

Commit

Permalink
build: fix install in publish beta (#4785)
Browse files Browse the repository at this point in the history
Install should happen after replace-in-files which follows symlinks and
hangs when pnpm node_modules present.
  • Loading branch information
TrySound authored Jan 24, 2025
1 parent d6dcf02 commit 5dcc8e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }} # HEAD commit instead of merge commit

- uses: ./.github/actions/ci-setup
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: Creating .npmrc
run: |
Expand All @@ -49,6 +53,7 @@ jobs:
--replacement="0.0.0-${{ steps.short_sha.outputs.value }}" \
"**/package.json"
- run: pnpm install --ignore-scripts
- run: pnpm --filter="webstudio..." build
- run: pnpm --filter="webstudio..." dts

Expand Down

0 comments on commit 5dcc8e5

Please sign in to comment.