File tree 2 files changed +8
-17
lines changed 2 files changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,13 @@ jobs:
23
23
hugo-version : ' 0.147.2'
24
24
extended : true
25
25
26
- - name : Setup Node
27
- uses : actions/setup-node@v1
26
+ - uses : actions/setup-node@v4
28
27
with :
29
- node-version : ' 12.x'
28
+ node-version : ' 20'
29
+ cache : ' npm'
30
+ cache-dependency-path : ' **/package-lock.json'
30
31
31
- - name : Cache dependencies
32
- uses : actions/cache@v1
33
- with :
34
- path : ~/.npm
35
- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
36
- restore-keys : |
37
- ${{ runner.os }}-node-
38
-
39
- - run : npm ci
32
+ - run : npm install
40
33
- run : hugo
41
34
env :
42
35
HUGO_ENV : production
Original file line number Diff line number Diff line change @@ -15,12 +15,10 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
17
17
steps :
18
- - uses : actions/checkout@v2
19
- - name : Set up JDK 8
20
- uses : actions/setup-java@v2
18
+ - uses : actions/checkout@v4
19
+ - uses : actions/setup-java@v4
21
20
with :
22
- java-version : ' 8'
23
21
distribution : ' adopt'
24
- cache : maven
22
+ java-version : ' 17 '
25
23
- name : Build with Maven
26
24
run : mvn -B verify --file pom.xml
You can’t perform that action at this time.
0 commit comments