Skip to content

Commit

Permalink
ci: trying to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
akopachov committed Feb 22, 2024
1 parent c1f06f3 commit a7b854a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/create-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ jobs:
node-version-file: ./.nvmrc

- uses: pnpm/action-setup@v3
id: install-pnpm
name: Install pnpm
with:
version: latest
Expand All @@ -92,6 +93,15 @@ jobs:
pnpm config set node-linker hoisted --location project
pnpm install
- uses: actions/checkout@v3
- name: Fix PNPM to run build
uses: jacobtomlinson/gha-find-replace@v3
with:
include: "${{steps.install-pnpm.outputs.bin_dest}}/pnpm.cjs"
find: "#!/usr/bin/env node"
replace: "#!node"
regex: false

- name: Build
run: |
pnpm build
Expand Down

0 comments on commit a7b854a

Please sign in to comment.