This commit is contained in:
sinkaroid
2023-04-18 11:14:49 +07:00
parent eeea8c62da
commit 23e8b57273
3 changed files with 128 additions and 0 deletions

30
.github/workflows/pornhub.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Pornhub test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Pornhub test
run: npm run test:pornhub

29
.github/workflows/status.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Check status
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Check status code
run: npm run test