File tree Expand file tree Collapse file tree 3 files changed +68
-42
lines changed
Expand file tree Collapse file tree 3 files changed +68
-42
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ pull_request :
9+ branches :
10+ - main
11+
12+ jobs :
13+ lint :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v2
17+
18+ - name : Install pnpm
19+ uses : pnpm/action-setup@v2.2.1
20+
21+ - name : Set node
22+ uses : actions/setup-node@v2
23+ with :
24+ node-version : 16.x
25+ cache : pnpm
26+
27+ - name : Setup
28+ run : npm i -g @antfu/ni
29+
30+ - name : Install
31+ run : nci
32+
33+ - name : Lint
34+ run : nr lint
35+
36+ test :
37+ runs-on : ${{ matrix.os }}
38+
39+ strategy :
40+ matrix :
41+ node : [14.x, 16.x]
42+ os : [ubuntu-latest, windows-latest, macos-latest]
43+ fail-fast : false
44+
45+ steps :
46+ - uses : actions/checkout@v2
47+
48+ - name : Install pnpm
49+ uses : pnpm/action-setup@v2.2.1
50+
51+ - name : Set node version to ${{ matrix.node }}
52+ uses : actions/setup-node@v2
53+ with :
54+ node-version : ${{ matrix.node }}
55+ cache : pnpm
56+
57+ - name : Setup
58+ run : npm i -g @antfu/ni
59+
60+ - name : Install
61+ run : nci
62+
63+ - name : Build
64+ run : nr build
65+
66+ - name : Test
67+ run : nr test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
22 "name" : " unplugin-vue-components" ,
33 "version" : " 0.18.5" ,
4+ "packageManager" : " pnpm@6.32.3" ,
45 "description" : " Components auto importing for Vue" ,
56 "homepage" : " https://github.com/antfu/unplugin-vue-components" ,
67 "bugs" : " https://github.com/antfu/unplugin-vue-components/issues" ,
You can’t perform that action at this time.
0 commit comments