mirror of
https://github.com/jellyfin/jellyfin-sdk-typescript.git
synced 2025-02-17 04:27:46 +00:00
Add workflow to run integration tests weekly
This commit is contained in:
parent
9abc042779
commit
68b206fd09
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: npx vitest **/integration.test.ts
|
Loading…
x
Reference in New Issue
Block a user