File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 3838 composer update ${{ matrix.dependency-version }} --prefer-dist --no-interaction --ansi --with="laravel/framework:${{ matrix.laravel }}" --with="orchestra/testbench:${{ matrix.testbench }}"
3939
4040 - name : Execute tests
41- run : composer run test
41+ run : composer test
42+
43+ # NPM part (test whether assets can be compiled)
44+ - name : Setup Node.js
45+ uses : actions/setup-node@v4
46+ with :
47+ node-version : 20
48+
49+ - name : Cache yarn dependencies
50+ uses : actions/cache@v4
51+ id : npm-node_modules-cache
52+ with :
53+ path : node_modules
54+ key : npm-${{ hashFiles('package.json') }}-node-20
55+
56+ - name : Compile assets
57+ run : npm install && npm run nova:install && npm run prod
Original file line number Diff line number Diff line change 1111 "hot" : " mix watch --hot" ,
1212 "prod" : " npm run production" ,
1313 "production" : " mix --production" ,
14- "nova:install" : " npm --prefix='../.. /vendor/laravel/nova' ci"
14+ "nova:install" : " npm --prefix='./vendor/laravel/nova' ci"
1515 },
1616 "devDependencies" : {
1717 "@vue/compiler-sfc" : " ^3.2.41" ,
You can’t perform that action at this time.
0 commit comments