File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ jobs:
1616 # submodules: true # Fetch Hugo themes (true OR recursive)
1717 fetch-depth : 3 # Fetch all history for .GitInfo and .Lastmod
1818
19- - uses : actions/setup-node@v1
19+ - uses : actions/setup-node@v2.1.5
2020 with :
2121 node-version : " 14"
2222 - uses : actions/cache@v2
2323 with :
2424 path : ~/.npm
25- key : ${{ runner.os }}-node2 -${{ hashFiles('**/package-lock.json') }}
25+ key : ${{ runner.os }}-node3 -${{ hashFiles('**/package-lock.json') }}
2626 restore-keys : |
27- ${{ runner.os }}-node2 -
27+ ${{ runner.os }}-node3 -
2828 - run : npm ci
2929 - name : Lint
3030 run : npm run lint
Original file line number Diff line number Diff line change @@ -3,19 +3,25 @@ publish = "public"
33command = " npm ci && hugo --gc --minify -b $DEPLOY_PRIME_URL"
44
55[context .production .environment ]
6- HUGO_VERSION = " 0.78 .0"
6+ HUGO_VERSION = " 0.81 .0"
77HUGO_ENV = " production"
8+ NODE_VERSION = " 14.16.0"
9+ NPM_VERSION = " 7.6.3"
810
911[context .deploy-preview ]
1012command = " npm ci && hugo --gc --minify --buildDrafts --buildFuture -b $DEPLOY_PRIME_URL"
1113
1214[context .deploy-preview .environment ]
13- HUGO_VERSION = " 0.78 .0"
15+ HUGO_VERSION = " 0.81 .0"
1416HUGO_ENABLEGITINFO = " true"
17+ NODE_VERSION = " 14.16.0"
18+ NPM_VERSION = " 7.6.3"
1519
1620[context .branch-deploy ]
1721command = " npm ci && hugo --gc --minify -b $DEPLOY_PRIME_URL"
1822
1923[context .branch-deploy .environment ]
20- HUGO_VERSION = " 0.78 .0"
24+ HUGO_VERSION = " 0.81 .0"
2125HUGO_ENABLEGITINFO = " true"
26+ NODE_VERSION = " 14.16.0"
27+ NPM_VERSION = " 7.6.3"
You can’t perform that action at this time.
0 commit comments