-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (30 loc) · 807 Bytes
/
Copy pathci.yml
File metadata and controls
38 lines (30 loc) · 807 Bytes
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
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
verify:
name: Type check and validate templates
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install app dependencies
run: npm ci
- name: Install builder dependencies
run: npm --prefix builder ci
- name: Check generated templates
run: npm run check:templates
- name: Type check
run: npm run type-check
- name: Validate builder server files
run: |
node --check builder/server.js
node --check builder/storage.js
node --check builder/config.js
node --check builder/routes/scraper.js