Skip to content

Insights & NPM Stats #2186

Insights & NPM Stats

Insights & NPM Stats #2186

Workflow file for this run

name: 'Insights & NPM Stats'
on:
workflow_dispatch:
schedule:
- cron: '0 0/6 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Build
run: |
yarn
yarn insights
yarn npm-stats
env:
MONGODB_URI: ${{ secrets.MONGODB_URI }}
NODE_OPTIONS: '--max_old_space_size=8192'
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
LAST_FM_API_KEY: ${{ secrets.LAST_FM_API_KEY }}