-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (39 loc) · 1 KB
/
Copy pathci.yml
File metadata and controls
43 lines (39 loc) · 1 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
name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
name: verify
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
- name: Install
run: PUPPETEER_SKIP_DOWNLOAD=1 npm ci
- name: Diff check
run: git diff --check
- name: Typecheck
run: npm run typecheck
- name: Build
run: npm run build
- name: Test pipeline
run: npm test
- name: Governance artifacts
run: |
test -f LICENSE || test -f README.md
test -f CHANGELOG.md
test -f docs/GOVERNANCE.md
test -f docs/release-lifecycle.md
test -f docs/release-checklist.md
node -e "const p=require('./package.json'); if(!p.version) process.exit(1)"