Skip to content

Commit 8976d49

Browse files
committed
feat: Download a chapter, Download a range of chapters
1 parent ec5ed6b commit 8976d49

File tree

8 files changed

+177
-3287
lines changed

8 files changed

+177
-3287
lines changed

.github/workflows/main.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
on: [push]
3+
jobs:
4+
build:
5+
name: Typecheck, lint, test, and build on Node ${{ matrix.node-version }} and ${{ matrix.os }}
6+
runs-on: ${{ matrix.os }}
7+
strategy:
8+
matrix:
9+
node-version: ["16.x"]
10+
pnpm-version: ["7.x"]
11+
os: [ubuntu-latest]
12+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
13+
steps:
14+
- name: Checkout repo
15+
uses: actions/checkout@v3
16+
- name: Use pnpm
17+
uses: pnpm/action-setup@v2
18+
with:
19+
version: ${{ matrix.pnpm-version }}
20+
- name: Use Node ${{ matrix.node-version }}
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
cache: "pnpm"
25+
- name: Install dependencies
26+
run: pnpm install
27+
- name: Typecheck
28+
run: pnpm typecheck
29+
- name: Lint
30+
run: pnpm lint
31+
- name: Build
32+
run: pnpm build

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
node_modules
1+
*.log
22
.DS_Store
3-
4-
/dist
3+
node_modules
4+
.cache
5+
dist

0 commit comments

Comments
 (0)