Skip to content

Commit e9c5e7f

Browse files
committed
feat: link binaries and make executable
1 parent f36bf5e commit e9c5e7f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/actions/setup/action.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,19 @@ runs:
2020
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
2121
restore-keys: |
2222
${{ runner.os }}-pnpm-store-
23-
- name: Install dependencies
23+
- name: Install dependencies with ignore-scripts
2424
shell: bash
25-
run: pnpm install --frozen-lockfile
25+
run: pnpm install --frozen-lockfile --ignore-scripts
26+
2627
- name: Build packages
2728
shell: bash
2829
run: pnpm build:packages
2930

30-
- name: Make translate-docs executable
31+
- name: Link binaries and make executable
3132
shell: bash
3233
run: |
34+
pnpm rebuild --ignore-scripts
3335
chmod +x ./packages/translate/dist/index.js
36+
echo "Verifying translate-docs binary exists"
37+
ls -la ./node_modules/.bin/translate-docs || true
38+
ls -la ./packages/translate/dist/index.js || true

0 commit comments

Comments
 (0)