File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,14 +12,15 @@ jobs:
1212 contents : read
1313 steps :
1414 - name : Checkout
15- uses : actions/checkout@v3
15+ uses : actions/checkout@v4
1616 with :
1717 fetch-depth : 0
1818 - name : Use Node.js
19- uses : actions/setup-node@v3
19+ uses : actions/setup-node@v4
2020 with :
21- node-version : ' 20 .x'
21+ node-version : ' 22 .x'
2222 - run : npm ci
2323 - run : npm run build
2424 env :
2525 BASE_URL : ' /ePlant'
26+ VITE_MAPS_API_KEY : ${{ secrets.VITE_MAPS_API_KEY }}
Original file line number Diff line number Diff line change @@ -17,22 +17,21 @@ jobs:
1717 contents : read
1818 steps :
1919 - name : Checkout
20- uses : actions/checkout@v3
20+ uses : actions/checkout@v4
2121 with :
2222 fetch-depth : 0
2323 - name : Use Node.js
24- uses : actions/setup-node@v3
24+ uses : actions/setup-node@v4
2525 with :
26- node-version : ' 20 .x'
26+ node-version : ' 22 .x'
2727 - run : npm ci
2828 - run : npm run build
2929 env :
3030 BASE_URL : ' /ePlant'
3131 VITE_MAPS_API_KEY : ${{ secrets.VITE_MAPS_API_KEY }}
32- VITE_MAPS_ID : ${{ secrets.VITE_MAPS_ID }}
3332 - run : mv dist _site
3433 - name : Upload artifact
35- uses : actions/upload-pages-artifact@v2
34+ uses : actions/upload-pages-artifact@v3
3635 deploy :
3736 environment :
3837 name : github-pages
4241 steps :
4342 - name : Deploy to GitHub Pages
4443 id : deployment
45- uses : actions/deploy-pages@v2
44+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ jobs:
1010
1111 steps :
1212 - name : Checkout code
13- uses : actions/checkout@v2
13+ uses : actions/checkout@v4
1414
1515 - name : Setup Node.js
16- uses : actions/setup-node@v3
16+ uses : actions/setup-node@v4
1717 with :
1818 node-version : ' 20.x'
1919
Original file line number Diff line number Diff line change 2020 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121
2222 steps :
23- - uses : actions/checkout@v3
23+ - uses : actions/checkout@v4
2424 - name : Use Node.js ${{ matrix.node-version }}
25- uses : actions/setup-node@v3
25+ uses : actions/setup-node@v4
2626 with :
2727 node-version : ${{ matrix.node-version }}
2828 cache : ' npm'
You can’t perform that action at this time.
0 commit comments