Skip to content

中青阅读

中青阅读 #4868

Workflow file for this run

name: 中青阅读
on:
workflow_dispatch:
schedule:
- cron: '10 8-22/3 * * *'
jobs:
build:
runs-on: ubuntu-latest
## if: github.event.repository.owner.id == github.event.sender.id
steps:
- name: Checkout
run: |
git clone https://github.com/guakeliao/garbageCollection.git ~/js
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: npm install
run: |
cd ~/js
npm install
npm install cron
npm install request
- name: '运行 【中青阅读】'
run: |
cd ~/js
node js/youth/youth_autoread.js