mirror of
https://github.com/jellyfin/jellyfin-sdk-typescript.git
synced 2024-11-23 05:59:44 +00:00
Merge pull request #765 from thornbill/integration-test-ci
Add workflow to run integration tests weekly
This commit is contained in:
commit
e8eb29a37a
29
.github/workflows/test-integration.yaml
vendored
Normal file
29
.github/workflows/test-integration.yaml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: Integration Test
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '15 8 * * 1'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
|
||||
with:
|
||||
node-version: 20
|
||||
check-latest: true
|
||||
cache: npm
|
||||
|
||||
- name: Install Node.js dependencies
|
||||
run: npm ci --no-audit
|
||||
|
||||
- name: Run Vitest
|
||||
run: npm run test:integration
|
@ -22,7 +22,8 @@
|
||||
"fix-schema": "node scripts/modify-schema.mjs openapi.json",
|
||||
"lint": "eslint \".\"",
|
||||
"prepublishOnly": "npm run clean:build:sdk",
|
||||
"test": "vitest --exclude **/integration.test.ts"
|
||||
"test": "vitest --exclude **/integration.test.ts",
|
||||
"test:integration": "vitest integration"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@openapitools/openapi-generator-cli": "2.13.4",
|
||||
|
Loading…
Reference in New Issue
Block a user