File tree Expand file tree Collapse file tree 4 files changed +8957
-11
lines changed Expand file tree Collapse file tree 4 files changed +8957
-11
lines changed Original file line number Diff line number Diff line change @@ -19,23 +19,25 @@ jobs:
19
19
deploy :
20
20
runs-on : ubuntu-latest
21
21
steps :
22
- - uses : actions/checkout@v2
23
-
24
- - name : Setup Node
25
- uses : actions/setup-node@v1
22
+ - uses : actions/checkout@v3
23
+ - uses : pnpm/action-setup@v2
24
+ with :
25
+ version : 8
26
+ - uses : actions/setup-node@v3
26
27
with :
27
- node-version : ' 16'
28
- - run : cd ../ && npm ci
29
- - run : npm ci
30
- - run : npm run build
28
+ node-version : " 16"
29
+ cache : " pnpm"
30
+ - run : cd ../ && pnpm install
31
+ - run : pnpm install
32
+ - run : pnpm build
31
33
env :
32
34
REACT_APP_TELEMETRY_API : https://telemetry-api.ufsolargators.org
33
35
REACT_APP_GOOGLE_MAPS_KEY : " ${{ vars.REACT_APP_GOOGLE_MAPS_KEY }}"
34
36
35
37
- name : Upload artifact
36
38
uses : actions/upload-pages-artifact@v1
37
39
with :
38
- path : ' ./client/build'
40
+ path : " ./client/build"
39
41
40
42
- name : Deploy to GitHub Pages
41
43
id : deployment
Original file line number Diff line number Diff line change 1
- FROM node:16-alpine
1
+ FROM node:20-slim
2
2
3
3
WORKDIR /app
4
4
5
5
COPY ./package.json ./package.json
6
6
COPY ./package-lock.json ./package-lock.json
7
7
8
- RUN npm ci
8
+ RUN pnpm install
You can’t perform that action at this time.
0 commit comments