Fix tests, added gh action nuxt step

This commit is contained in:
Julien Nahum
2024-01-14 20:52:14 +01:00
parent 675b88f75a
commit 80962678c1
10 changed files with 66 additions and 21 deletions

View File

@@ -128,6 +128,27 @@ jobs:
path: storage/logs/laravel.log
retention-days: 3
build-nuxt-app:
runs-on: ubuntu-latest
name: Build the Nuxt app
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get into client folder
run: cd client
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Prepare the environment
run: cp .env.example .env
- name: Install npm dependencies
run: npm install --no-audit --no-progress --silent