Skip to content

Generator Dependency Star Download Data #57

Generator Dependency Star Download Data

Generator Dependency Star Download Data #57

name: Generator Dependency Star Download Data
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: "0 * * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_REQUEST_TOKEN: ${{ secrets.REQUEST_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install
npm run gen:data
- name: "Commit"
uses: EndBug/add-and-commit@v4
with:
author_name: lonewolfyx
author_email: [email protected]
message: "fix(data): Update the latest number of stars and downloads in dependency.json"
add: "."
token: ${{ secrets.ACCESS_TOKEN }}