File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 14
14
15
15
jobs :
16
16
build :
17
- runs-on : ubuntu-latest
18
- strategy :
19
- matrix :
20
- node-version : [16.x]
17
+ runs-on : ubuntu-22.04
21
18
steps :
22
19
- name : Dispatched?
23
20
if : ${{ github.event_name == 'workflow_dispatch' }}
@@ -26,12 +23,12 @@ jobs:
26
23
echo "Build reason: ${{ github.event.inputs.cause }}"
27
24
28
25
- name : Checkout
29
- uses : actions/checkout@v3
26
+ uses : actions/checkout@v4
30
27
31
28
- name : Use Node.js ${{ matrix.node-version }}
32
- uses : actions/setup-node@v3
29
+ uses : actions/setup-node@v4
33
30
with :
34
- node-version : ${{ matrix.node-version }}
31
+ node-version : 20
35
32
36
33
- run : npm run ci:lib
37
34
- run : npm run build:lib
@@ -40,14 +37,14 @@ jobs:
40
37
- run : npm run ci:tests
41
38
- run : npm test
42
39
43
- - uses : actions/upload-artifact@master
40
+ - uses : actions/upload-artifact@v4
44
41
with :
45
42
name : demo-dist
46
43
path : dist/demo
47
44
48
45
deploy :
49
46
needs : build
50
- runs-on : ubuntu-latest
47
+ runs-on : ubuntu-22.04
51
48
steps :
52
49
- name : Set env BRANCH
53
50
run : echo "BRANCH=$(echo $GITHUB_REF | cut -d'/' -f 3)" >> $GITHUB_ENV
@@ -66,11 +63,11 @@ jobs:
66
63
67
64
- name : Checkout
68
65
if : env.NEED == 'true'
69
- uses : actions/checkout@v3
66
+ uses : actions/checkout@v4
70
67
71
68
- name : Download dist
72
69
if : env.NEED == 'true'
73
- uses : actions/download-artifact@master
70
+ uses : actions/download-artifact@v4
74
71
with :
75
72
name : demo-dist
76
73
path : dist-demo-app
80
77
uses : JamesIves/github-pages-deploy-action@v4
81
78
with :
82
79
branch : gh-pages
83
- folder : dist-demo-app
80
+ folder : dist-demo-app
Original file line number Diff line number Diff line change 74
74
}
75
75
}
76
76
}
77
+ },
78
+ "cli" : {
79
+ "analytics" : false
77
80
}
78
81
}
Original file line number Diff line number Diff line change 20
20
}
21
21
}
22
22
}
23
+ },
24
+ "cli" : {
25
+ "analytics" : false
23
26
}
24
27
}
You can’t perform that action at this time.
0 commit comments