-
Notifications
You must be signed in to change notification settings - Fork 126
40 lines (36 loc) · 1.02 KB
/
compat-check.yml
File metadata and controls
40 lines (36 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Compat Check
on:
pull_request:
paths:
- 'config/source/skills/**'
- 'config/source/guideline/**'
- 'config/source/editor-config/**'
- 'scripts/build-compat-config.mjs'
- 'scripts/diff-compat-config.mjs'
- 'scripts/update-compat-baseline.mjs'
- 'scripts/sync-config.mjs'
- 'package.json'
push:
branches:
- main
paths:
- 'config/source/skills/**'
- 'config/source/guideline/**'
- 'config/source/editor-config/**'
- 'scripts/build-compat-config.mjs'
- 'scripts/diff-compat-config.mjs'
- 'scripts/update-compat-baseline.mjs'
- 'scripts/sync-config.mjs'
- 'package.json'
jobs:
compat-diff:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Verify compatibility contract and advisory text surface drift
run: npm run check:compat-diff