Skip to content

.github/workflows/JS-Scrapers.yml #60

.github/workflows/JS-Scrapers.yml

.github/workflows/JS-Scrapers.yml #60

Workflow file for this run

# 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 18 * * *'
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Install dependencies
run: npm i
- name: Run Scrapers
env:
APIKEY: ${{ secrets.APIKEY }}
run: node main.js