Skip to content

Commit 0d651d6

Browse files
authored
Merge pull request #155 from asherpasha/staging
Update GitHub Actions
2 parents 71cb7cf + 668beee commit 0d651d6

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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 }}

.github/workflows/deploy.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff 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
@@ -42,4 +41,4 @@ jobs:
4241
steps:
4342
- name: Deploy to GitHub Pages
4443
id: deployment
45-
uses: actions/deploy-pages@v2
44+
uses: actions/deploy-pages@v4

.github/workflows/linting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
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'

0 commit comments

Comments
 (0)