Skip to content

NPM Downloads to Bark #63

NPM Downloads to Bark

NPM Downloads to Bark #63

Workflow file for this run

name: NPM Downloads to Bark
on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:
jobs:
send-downloads:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: pnpm/action-setup@v4
name: Install pnpm
- name: Install dependencies
run: pnpm add axios ts-node typescript@5.5.4 -w
- name: Run TypeScript script
env:
BARK_KEY: ${{ secrets.BARK_KEY }}
run: pnpm ts-node script/npm_downloads.ts