File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI Build
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - develop
8+ - " feature/**"
9+ pull_request :
10+ branches :
11+ - main
12+ - develop
13+
14+ jobs :
15+ build :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v4
19+
20+ # Setup required tools
21+ - name : Setup Node.js environment
22+ 23+ with :
24+ node-version : 20.x
25+
26+ - name : Setup PHP Action
27+ uses :
shivammathur/[email protected] 28+ with :
29+ php-version : " 8.4"
30+
31+ # Node stuff
32+ - name : Install pnpm
33+ run : npm install -g pnpm
34+
35+ - name : Install node dependencies
36+ run : pnpm install --prod
37+
38+ - name : Build assets
39+ run : pnpm run build
40+
41+ - name : Install PHP dependencies
42+ run : composer install --no-dev
43+
44+ - name : Verify build output
45+ run : |
46+ echo "Build completed successfully!"
47+ ls -la assets/
You can’t perform that action at this time.
0 commit comments