-
Notifications
You must be signed in to change notification settings - Fork 2
29 lines (28 loc) · 748 Bytes
/
ci.yml
File metadata and controls
29 lines (28 loc) · 748 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
name: CI
on: push
jobs:
ci:
name: CI
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v5
- uses: actions/setup-node@v6
with:
node-version: '24.14.1'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build create-react-app app
run: pnpm build
- name: Run TypeScript Compiler
run: pnpm tsc
- name: Run ESLint
run: pnpm eslint . --max-warnings 0
- name: Run Stylelint
run: pnpm stylelint '**/*.{css,scss,less,js,tsx}'
- name: Install and run Preflight
run: |
pnpm add --global @upleveled/preflight
preflight