Skip to content

Commit 5f19a4e

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/frontend/cross-spawn-7.0.6
2 parents 57906d6 + 27e2fd9 commit 5f19a4e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2420
-1803
lines changed

.github/workflows/main.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build frontend
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
defaults:
10+
run:
11+
working-directory: ./frontend
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: '20'
18+
cache: 'npm'
19+
cache-dependency-path: frontend/package-lock.json
20+
21+
- run: npm ci
22+
23+
- name: Build with custom path
24+
env:
25+
BUILD_PATH: ../backend/build
26+
REACT_APP_BACKEND_URL: ${{ secrets.REACT_APP_BACKEND_URL }}
27+
CI: false
28+
run: npm run build
29+
30+
- name: Commit frontend build into backend
31+
if: success()
32+
working-directory: .
33+
run: |
34+
git config user.name "github-actions[bot]"
35+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
36+
git add backend/build
37+
git commit -m "CI: update frontend build [skip ci]" || echo "Nothing to commit"
38+
git push

backend/build/Bookmark.png

96.4 KB
Loading

backend/build/Explorer.png

144 KB
Loading

backend/build/Gemini.png

197 KB
Loading

backend/build/Language Search.png

209 KB
Loading

backend/build/LikedProjects.png

166 KB
Loading

backend/build/My profile.png

259 KB
Loading

backend/build/Project.png

314 KB
Loading

backend/build/Status.png

676 KB
Loading

backend/build/asset-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"files": {
33
"main.css": "/static/css/main.6d9c863b.css",
4-
"main.js": "/static/js/main.cc2b6ce1.js",
4+
"main.js": "/static/js/main.b1a04468.js",
55
"index.html": "/index.html",
66
"main.6d9c863b.css.map": "/static/css/main.6d9c863b.css.map",
7-
"main.cc2b6ce1.js.map": "/static/js/main.cc2b6ce1.js.map"
7+
"main.b1a04468.js.map": "/static/js/main.b1a04468.js.map"
88
},
99
"entrypoints": [
1010
"static/css/main.6d9c863b.css",
11-
"static/js/main.cc2b6ce1.js"
11+
"static/js/main.b1a04468.js"
1212
]
1313
}

0 commit comments

Comments
 (0)