Skip to content

Commit

Permalink
ci: another action to do pnpm fix
Browse files Browse the repository at this point in the history
  • Loading branch information
akopachov committed Feb 22, 2024
1 parent a5c3c39 commit c4f6745
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/create-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,11 @@ jobs:
pnpm install
- name: Fix PNPM to run build
uses: jacobtomlinson/gha-find-replace@v3
uses: MathieuSoysal/replace-string-in-file@v1.1.0
with:
include: "${{steps.install-pnpm.outputs.bin_dest}}/pnpm.cjs"
find: "#!/usr/bin/env node"
replace: "#!node"
regex: false
file: "${{steps.install-pnpm.outputs.bin_dest}}/pnpm.cjs"
old-string: "#!/usr/bin/env node"
new-string: "#!node"

- name: Build
run: |
Expand Down

0 comments on commit c4f6745

Please sign in to comment.