Skip to content

Commit

Permalink
ci: Compile TypeScript and run the compiled script with Node.js ESM s…
Browse files Browse the repository at this point in the history
…upport
  • Loading branch information
Theo-Messi committed Sep 11, 2024
1 parent e6b701e commit 2709360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/npm-downloads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
- name: Run TypeScript script
env:
BARK_KEY: ${{ secrets.BARK_KEY }}
run: pnpm ts-node --esm --loader ts-node/esm script/npm_downloads.ts
run: pnpm tsc script/npm_downloads.ts --outDir dist && node --esm dist/npm_downloads.js

0 comments on commit 2709360

Please sign in to comment.