File tree Expand file tree Collapse file tree 2 files changed +16
-24
lines changed Expand file tree Collapse file tree 2 files changed +16
-24
lines changed Original file line number Diff line number Diff line change @@ -14,45 +14,37 @@ jobs:
14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- uses : actions/checkout@v4
17
- - name : Set node
18
- uses : actions/setup-node@v4
17
+ - uses : pnpm/action-setup@v4
18
+ - uses : actions/setup-node@v4
19
19
with :
20
- node-version : ' >=20'
21
- cache : ' pnpm'
22
-
23
- - name : Setup
24
- run : npm i -g @antfu/ni
25
-
26
- - name : Install
27
- run : nci
20
+ node-version : lts/*
21
+ cache : pnpm
28
22
29
- - name : Lint
30
- run : nr lint
31
-
32
- - name : Build
33
- run : nr build
23
+ - run : pnpm install --frozen-lockfile
24
+ - run : pnpm run lint
25
+ - run : pnpm run build
34
26
35
27
test :
36
28
runs-on : ${{ matrix.os }}
37
29
38
30
strategy :
39
31
matrix :
40
- node : [18.x, 20.x ]
32
+ node : [18.x, lts/* ]
41
33
os : [ubuntu-latest, windows-latest, macos-latest]
42
34
fail-fast : false
43
35
44
36
steps :
45
37
- uses : actions/checkout@v4
38
+ - uses : pnpm/action-setup@v4
46
39
- name : Set node ${{ matrix.node }}
47
40
uses : actions/setup-node@v4
48
41
with :
49
42
node-version : ${{ matrix.node }}
43
+ cache : pnpm
50
44
51
- - name : Setup
52
- run : npm i -g @antfu/ni
53
-
54
- - name : Install
55
- run : nci
45
+ - run : pnpm install --frozen-lockfile
46
+ - run : pnpm run test
56
47
57
- - name : Test
58
- run : nr test
48
+ - uses : codecov/codecov-action@v4
49
+ with :
50
+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " unplugin-vue-router" ,
3
3
"version" : " 0.8.6" ,
4
- "packageManager" : " pnpm@9.0.6 " ,
4
+ "packageManager" : " pnpm@9.1.1 " ,
5
5
"description" : " File based typed routing for Vue Router" ,
6
6
"keywords" : [
7
7
" vue-router" ,
You can’t perform that action at this time.
0 commit comments