Skip to content

Add MBin Magazine Support (+ remove KBin support) #16

Add MBin Magazine Support (+ remove KBin support)

Add MBin Magazine Support (+ remove KBin support) #16

Workflow file for this run

name: crawler-checks
on:
# push:
# paths:
# - crawler/**
pull_request:
paths:
- crawler/**
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
crawler-checks-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 22.12.0
uses: actions/setup-node@v3
with:
node-version: 22.12.0
# Install + Cache Crawler Dependencies
- name: Cache Node Modules | Crawler
id: cache-crawler-yarn
uses: actions/cache@v3
env:
cache-name: cache-crawler-yarn
with:
path: ./crawler/node_modules/
key: cache-crawler-yarn-${{ hashFiles('crawler/yarn.lock') }}
- name: Install Node Modules | Crawler
if: steps.cache-crawler-yarn.outputs.cache-hit != 'true'
run: yarn --frozen-lockfile
working-directory: ./crawler
- name: Check Style | Crawler
run: yarn format
working-directory: ./crawler
crawler-checks-types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 22.12.0
uses: actions/setup-node@v3
with:
node-version: 22.12.0
# Install + Cache Crawler Dependencies
- name: Cache Node Modules | Crawler
id: cache-crawler-yarn
uses: actions/cache@v3
env:
cache-name: cache-crawler-yarn
with:
path: ./crawler/node_modules/
key: cache-crawler-yarn-${{ hashFiles('crawler/yarn.lock') }}
- name: Install Node Modules | Crawler
if: steps.cache-crawler-yarn.outputs.cache-hit != 'true'
run: yarn --frozen-lockfile
working-directory: ./crawler
- name: Check Style | Crawler
run: yarn check:ts
working-directory: ./crawler