File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 33 push :
44 branches :
55 - main
6- env :
7- NODE_VERSION : ' 16.5.0'
86jobs :
97 build_and_deploy :
108 name : Build and Deploy to Live
@@ -14,10 +12,10 @@ jobs:
1412 url : https://bvarga.dev
1513 steps :
1614 - uses : actions/checkout@v2
17- - name : Use Node.js ${{ env.NODE_VERSION }}
15+ - name : Use Node.js
1816 uses : actions/setup-node@v2
1917 with :
20- node-version : ${{ env.NODE_VERSION }}
18+ node-version-file : ' .node-version '
2119 - name : Cache node modules
2220 uses : actions/cache@v4
2321 env :
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ jobs:
1010 environment : staging
1111 steps :
1212 - uses : actions/checkout@v2
13- - name : Use Node.js ${{ env.NODE_VERSION }}
13+ - name : Use Node.js
1414 uses : actions/setup-node@v2
1515 with :
16- node-version : ${{ env.NODE_VERSION }}
16+ node-version-file : ' .node-version '
1717 - name : Cache node modules
1818 uses : actions/cache@v4
1919 env :
Original file line number Diff line number Diff line change 1+ 22.11.0
You can’t perform that action at this time.
0 commit comments