Skip to content

Commit 9391e57

Browse files
committed
🐛 fix: use the dist/index.js
1 parent ac0ffda commit 9391e57

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

action.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ runs:
2727
with:
2828
node-version: '21'
2929

30-
- name: Install dependencies
31-
run: |
32-
npm install @types/yargs git-url-parse yargs zenn-cli
33-
npm install --save-dev @qiita/qiita-cli @types/git-url-parse @types/js-yaml @types/node ts-node typescript
34-
shell: bash
35-
3630
- name: Get changed markdown files
3731
id: files
3832
run: |
@@ -63,7 +57,7 @@ runs:
6357
fi
6458
6559
echo "🚚 Convert $file to qiita/public/$filename.md"
66-
./node_modules/.bin/ts-node --files --project ${{ github.action_path }}/tsconfig.json ${{ github.action_path }}/scripts/ztoq.tsx "$file" "./qiita/public/$filename.md"
60+
node ${{ github.action_path }}/dist/index.js "$file" "./qiita/public/$filename.md"
6761
done
6862
shell: bash
6963
if: steps.files.outcome == 'success'

0 commit comments

Comments
 (0)