Skip to content

Crawl

Crawl #165

Workflow file for this run

# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Crawl
on:
workflow_dispatch: ~
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 22 * * 5'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: 14.x
# cache: 'npm'
- run: yarn --frozen-lockfile
- run: yarn crawl
- name: Add & Commit
uses: EndBug/[email protected]
with:
add: 'db.json'