-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
32 lines (29 loc) · 719 Bytes
/
CI.yml
File metadata and controls
32 lines (29 loc) · 719 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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: 'ubuntu-24.04'
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v6
with:
node-version: 'lts/*'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Check formatting
run: pnpm run format:check
- name: Build
run: pnpm run build:all
- name: Lint
run: pnpm run lint:all
- run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
- name: Test
uses: coactions/setup-xvfb@v1
with:
run: pnpm run test:all