Skip to content

Insights & NPM Stats #2100

Insights & NPM Stats

Insights & NPM Stats #2100

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: 18
- 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 }}