-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (41 loc) · 1.04 KB
/
build-checks.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
on:
push:
branches:
- "**"
- "!dev"
- "!main"
paths:
- backend/twitter-bot/**
- backend/gdrive-bot/**
pull_request:
paths:
- backend/twitter-bot/**
- backend/gdrive-bot/**
jobs:
twt-lint:
name: Twitter Bot Lint & Test
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Install Dependencies
run: npm install
working-directory: backend/twitter-bot
- name: Lint
run: npm run lint
working-directory: backend/twitter-bot
gdrive-lint:
name: GDrive Bot Lint & Test & Build
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Install Dependencies
run: npm install
working-directory: backend/gdrive-bot/functions
- name: Lint
run: npm run lint
working-directory: backend/gdrive-bot/functions
- name: Build
run: npm run build
working-directory: backend/gdrive-bot/functions