We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 093cddc commit 48a34dbCopy full SHA for 48a34db
1 file changed
.github/workflows/notify.yml
@@ -12,6 +12,7 @@ on:
12
13
env:
14
NODE_VERSION: 20
15
+ PNPM_VERSION: 10.0.0
16
17
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
18
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
@@ -37,8 +38,10 @@ jobs:
37
38
with:
39
node-version: ${{ env.NODE_VERSION }}
40
- - name: Install dependencies
41
- run: npm install node-fetch
+ - name: Setup pnpm
42
+ uses: pnpm/action-setup@v4
43
+ with:
44
+ version: ${{ env.PNPM_VERSION }}
45
46
- name: Send Telegram notification
- run: node scripts/telegram-notify.js
47
+ run: pnpm dlx node-fetch@3.3.1 node scripts/telegram-notify.js
0 commit comments