diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0af1a85..cbdf34d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -80,6 +80,18 @@ jobs: - name: Install composer dependencies run: composer install --prefer-dist --no-interaction + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + cache: 'npm' + + - name: Install Node dependencies + run: npm ci --no-audit --ignore-scripts + + - name: Build assets + run: npm run build + - name: Setup env run: | cp .env.ci .env