Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add scheduled compatibility-check workflow #72

Merged
merged 2 commits into from
Jan 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches: [main]
pull_request:
workflow_dispatch:

env:
CI: true
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/compatibility-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: compatibility-check

on:
schedule:
- cron: "21 12 * * 5"
workflow_dispatch:

env:
CI: true

jobs:
check:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
cache: "npm"
- name: Install Dependencies
run: npm ci
- name: Build Package
run: npm run build
- name: Install latest MSW and OpenAPI-TS versions
run: npm install msw@latest openapi-typescript@latest
- name: Generate Test Fixtures
run: npm run generate
- name: Run Integration Tests
run: npm run test:int