Skip to content

NPM Downloads to Bark #12

NPM Downloads to Bark

NPM Downloads to Bark #12

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
- name: Run Node.js script
env:
BARK_KEY: ${{ secrets.BARK_KEY }}
run: node script/npm_downloads.js