File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,23 +22,18 @@ jobs:
2222 component-tests :
2323 runs-on : ubuntu-latest
2424
25- strategy :
26- fail-fast : false
27- matrix :
28- node-version : [20]
29-
3025 steps :
3126 - name : Checkout app
3227 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3328 with :
3429 persist-credentials : false
3530
36- - name : Set up Node.js ${{ matrix.node- version }}
31+ - name : Set up node from version file
3732 uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
3833 with :
39- node-version : ${{ matrix.node-version }}
4034 cache : ' npm'
4135 cache-dependency-path : package-lock.json
36+ node-version-file : ' package.json'
4237
4338 - name : Install dependencies
4439 run : npm ci
Original file line number Diff line number Diff line change 9393 with :
9494 cache : ' npm'
9595 cache-dependency-path : apps/${{ env.APP_NAME}}/package-lock.json
96- node-version-file : ' package.json'
96+ node-version-file : ' apps/${{ env.APP_NAME }}/ package.json'
9797
9898 - name : Install dependencies & build app
9999 working-directory : apps/${{ env.APP_NAME }}
You can’t perform that action at this time.
0 commit comments