File tree Expand file tree Collapse file tree 3 files changed +77
-64
lines changed
Expand file tree Collapse file tree 3 files changed +77
-64
lines changed Original file line number Diff line number Diff line change 1+ name : Code quality
2+
3+ on :
4+ pull_request :
5+ types :
6+ - opened
7+ - synchronize
8+ - reopened
9+ - ready_for_review
10+
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13+ cancel-in-progress : true
14+
15+ jobs :
16+ biome :
17+ runs-on : ubuntu-latest
18+ env :
19+ SKIP_YARN_COREPACK_CHECK : true
20+ steps :
21+ - uses : actions/checkout@v6
22+ - uses : actions/setup-node@v6
23+ with :
24+ node-version : " lts/*"
25+ cache : " yarn"
26+ - run : corepack enable
27+ - run : yarn install --frozen-lockfile
28+ - uses : biomejs/setup-biome@v2
29+ with :
30+ version : latest
31+ - name : Run Biome
32+ run : yarn workspace @knide/pathnorm lint:biome
33+
34+ tsc :
35+ runs-on : ubuntu-latest
36+ env :
37+ SKIP_YARN_COREPACK_CHECK : true
38+ steps :
39+ - uses : actions/checkout@v6
40+ - uses : actions/setup-node@v6
41+ with :
42+ node-version : " lts/*"
43+ cache : " yarn"
44+ - run : corepack enable
45+ - run : yarn install --frozen-lockfile
46+ - name : Run TypeScript type check
47+ run : yarn workspace @knide/pathnorm lint:tsc
48+
49+ build :
50+ runs-on : ubuntu-latest
51+ env :
52+ SKIP_YARN_COREPACK_CHECK : true
53+ steps :
54+ - uses : actions/checkout@v6
55+ - uses : actions/setup-node@v6
56+ with :
57+ node-version : " lts/*"
58+ cache : " yarn"
59+ - run : corepack enable
60+ - run : yarn install --frozen-lockfile
61+ - name : Build package
62+ run : yarn build
63+
64+ test :
65+ runs-on : ubuntu-latest
66+ env :
67+ SKIP_YARN_COREPACK_CHECK : true
68+ steps :
69+ - uses : actions/checkout@v6
70+ - uses : actions/setup-node@v6
71+ with :
72+ node-version : " lts/*"
73+ cache : " yarn"
74+ - run : corepack enable
75+ - run : yarn install --frozen-lockfile
76+ - name : Run tests
77+ run : yarn test
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments