-
Notifications
You must be signed in to change notification settings - Fork 41
61 lines (59 loc) · 1.35 KB
/
Copy pathci.yml
File metadata and controls
61 lines (59 loc) · 1.35 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
55
56
57
58
59
60
61
name: CI
on:
workflow_dispatch:
push:
branches: [master]
paths:
- '.github/workflows/ci.yml'
- '__stories__/**'
- '__tests__/**'
- '.storybook/**'
- '.lintstagedrc.json'
- '.oxfmtrc.json'
- '.oxlintrc.json'
- '.prettierrc.json'
- 'src/**'
- 'eslint.config.ts'
- 'package.json'
- 'package-lock.json'
- 'tsdown.config.ts'
- 'tsconfig.json'
- 'vitest.config.ts'
pull_request:
branches: [master]
types: [opened, synchronize, reopened]
paths:
- '.github/workflows/ci.yml'
- '__stories__/**'
- '__tests__/**'
- '.storybook/**'
- '.lintstagedrc.json'
- '.oxfmtrc.json'
- '.oxlintrc.json'
- '.prettierrc.json'
- 'src/**'
- 'eslint.config.ts'
- 'package.json'
- 'package-lock.json'
- 'tsdown.config.ts'
- 'tsconfig.json'
- 'vitest.config.ts'
jobs:
testing:
name: Testing and Analysis
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout project code
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Use Node.js LTS
uses: actions/setup-node@v6
with:
cache: npm
node-version: lts/*
- name: Installation
run: npm ci
- name: Check
run: npm run check