mirror of
https://github.com/notf0und/SGS
synced 2026-07-18 02:31:08 +00:00
Install and build npm packages on CI
This commit is contained in:
parent
bae79d68ab
commit
36c8671c52
@@ -30,6 +30,10 @@ jobs:
|
|||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
php artisan key:generate
|
php artisan key:generate
|
||||||
|
|
||||||
|
- name: Build frontend assets
|
||||||
|
working-directory: www
|
||||||
|
run: npm ci && npm run build
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
working-directory: www
|
working-directory: www
|
||||||
run: php artisan test
|
run: php artisan test
|
||||||
|
|||||||
@@ -30,6 +30,10 @@ jobs:
|
|||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
php artisan key:generate
|
php artisan key:generate
|
||||||
|
|
||||||
|
- name: Build frontend assets
|
||||||
|
working-directory: www
|
||||||
|
run: npm ci && npm run build
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
working-directory: www
|
working-directory: www
|
||||||
run: php artisan test
|
run: php artisan test
|
||||||
|
|||||||
Reference in New Issue
Block a user