-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (43 loc) · 1.39 KB
/
Copy pathci.yml
File metadata and controls
54 lines (43 loc) · 1.39 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: CI
on:
push:
pull_request:
jobs:
verify:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: scripts/requirements-spreadsheetbench-ci.txt
- name: Install Python test dependencies
run: python -m pip install --requirement scripts/requirements-spreadsheetbench-ci.txt
- name: Install dependencies
run: npm ci
- name: Install Playwright browsers
run: npx playwright install --with-deps chromium
- name: Check commit message accuracy
shell: bash
run: |
if [ "${{ github.event_name }}" = "pull_request" ]; then
npm run commit:check:range -- "${{ github.event.pull_request.base.sha }}..HEAD"
elif [ "${{ github.event.before }}" != "0000000000000000000000000000000000000000" ]; then
npm run commit:check:range -- "${{ github.event.before }}..HEAD"
else
npm run commit:check
fi
- name: Production gate
run: npm run prod:gate
- name: Ladder eval
run: npm run ladder