-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (35 loc) · 957 Bytes
/
Copy pathci.yml
File metadata and controls
46 lines (35 loc) · 957 Bytes
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
name: CutLoc CI
on:
push:
branches: [master, main]
pull_request:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
name: Build, test and audit
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 24.x
cache: npm
- name: Install locked dependencies
run: npm ci
- name: Build all workspaces
run: npm run build
- name: Run shared and server tests
run: npm test
- name: Install Playwright Chromium
run: npx playwright install --with-deps chromium
- name: Run browser regression tests
run: npm run test:web
- name: Audit production dependencies
run: npm audit --omit=dev --audit-level=high