JavaScript Scraper #216
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: JavaScript Scraper | |
on: | |
schedule: | |
- cron: "40 12 * * *" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Source Repository | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
- name: Install Dependencies | |
run: npm i | |
- name: Run Scrapers | |
run: | | |
source access_token.sh | |
node runScrapers.js |