Skip to content

Commit 83e961c

Browse files
committed
Simplify CI and add package-lock.json
- Simplify CI workflow to only run on Node.js 22.x instead of matrix - Combine test and build jobs into single job for efficiency - Add package-lock.json for reproducible builds - Remove package-lock.json from .gitignore - Update README.md
1 parent 4e6db47 commit 83e961c

4 files changed

Lines changed: 9422 additions & 48 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,17 @@ on:
88

99
jobs:
1010
test:
11-
name: Test on Node.js ${{ matrix.node-version }}
11+
name: Test and Build
1212
runs-on: ubuntu-latest
1313

14-
strategy:
15-
matrix:
16-
node-version: [18.x, 20.x, 22.x]
17-
1814
steps:
1915
- name: Checkout code
2016
uses: actions/checkout@v4
2117

2218
- name: Setup Node.js
2319
uses: actions/setup-node@v4
2420
with:
25-
node-version: ${{ matrix.node-version }}
21+
node-version: '22.x'
2622
cache: 'npm'
2723

2824
- name: Install dependencies
@@ -41,7 +37,6 @@ jobs:
4137
run: npm run test:coverage
4238

4339
- name: Upload coverage to Codecov
44-
if: matrix.node-version == '20.x'
4540
uses: codecov/codecov-action@v3
4641
with:
4742
files: ./coverage/lcov.info
@@ -51,27 +46,6 @@ jobs:
5146
- name: Build
5247
run: npm run build
5348

54-
build:
55-
name: Build and Package
56-
runs-on: ubuntu-latest
57-
needs: test
58-
59-
steps:
60-
- name: Checkout code
61-
uses: actions/checkout@v4
62-
63-
- name: Setup Node.js
64-
uses: actions/setup-node@v4
65-
with:
66-
node-version: '20.x'
67-
cache: 'npm'
68-
69-
- name: Install dependencies
70-
run: npm ci
71-
72-
- name: Build
73-
run: npm run build
74-
7549
- name: Archive production artifacts
7650
uses: actions/upload-artifact@v3
7751
with:

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Dependencies
22
node_modules/
3-
package-lock.json
43

54
# Build output
65
dist/

README.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -273,22 +273,4 @@ This tool is provided for **educational purposes only**. Users are responsible f
273273
- Complying with their library's terms of service
274274
- Respecting copyright and licensing agreements
275275
- Understanding local laws regarding digital content
276-
- Any consequences from using this tool
277-
278-
The developers are not responsible for:
279-
280-
- Banned library cards
281-
- Legal issues arising from use
282-
- Violations of terms of service
283-
- Any damages or losses
284-
285-
**Use at your own risk.**
286-
287-
## License
288-
289-
[MIT License](LICENSE) - See LICENSE file for full text
290-
291-
## Acknowledgments
292-
293-
- Built with Puppeteer, FFmpeg, and Node.js
294-
- Designed with safety and user privacy in mind
276+
- Any consequences from using this tool

0 commit comments

Comments
 (0)