Add workflow to run integration tests weekly

This commit is contained in:
Bill Thornton 2024-08-06 14:01:22 -04:00
parent 9abc042779
commit 68b206fd09

29
.github/workflows/test-integration.yaml vendored Normal file
View 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