Skip to content

Commit

Permalink
beefing with postinstall though
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkaroid committed Dec 10, 2022
1 parent 1771517 commit cf2d53d
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/3hentai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build

- name: 3hentai test
run: npm run test:3hentai
2 changes: 2 additions & 0 deletions .github/workflows/asmhentai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build

- name: Asmhentai test
run: npm run test:asmhentai
2 changes: 2 additions & 0 deletions .github/workflows/hentai2read.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build

- name: Hentai2read test
run: npm run test:hentai2read
2 changes: 2 additions & 0 deletions .github/workflows/hentaifox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build

- name: Hentaifox test
run: npm run test:hentaifox
2 changes: 2 additions & 0 deletions .github/workflows/nhentai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build

- name: Nhentai test
run: npm run test:nhentai
2 changes: 2 additions & 0 deletions .github/workflows/pururin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build

- name: Pururin test
run: npm run test:pururin
2 changes: 2 additions & 0 deletions .github/workflows/simply-hentai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build

- name: Simply-hentai test
run: npm run test:simply-hentai
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
"description": "Experimental doujin API with gather in mind",
"main": "build/src/index.js",
"scripts": {
"build": "tsc",
"build": "rm -rf build && tsc",
"start": "node build/src/index.js",
"test": "ts-node test/test.ts",
"test:cf": "ts-node test/nhentaiCookietest.ts",
"start:prod": "npm run build && node build/src/index.js",
"start:dev": "ts-node-dev src/index.ts",
"lint": "npx eslint . --ext .ts",
"lint:fix": "npx eslint . --fix",
"postinstall": "npm run build",
"test:nhentai": "npx start-server-and-test 3000 \"curl -v http://localhost:3000/nhentai/get?book=177013 | jq '.'\"",
"test:pururin": "npx start-server-and-test 3000 \"curl -v http://localhost:3000/pururin/get?book=47226 | jq '.'\"",
"test:hentaifox": "npx start-server-and-test 3000 \"curl -v http://localhost:3000/hentaifox/get?book=59026 | jq '.'\"",
Expand Down

0 comments on commit cf2d53d

Please sign in to comment.