wip: ci/cd fix npm
Some checks failed
Deploy Production Server / if_merged (push) Failing after 1m12s

This commit is contained in:
Thibaut Valentin 2024-12-29 14:08:41 +01:00
parent a20f47080b
commit 8ce23cb230

View File

@ -17,9 +17,16 @@ jobs:
distribution: 'graalvm'
cache: 'maven'
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Build site
run: |
echo ${{ vars.VITE_ENV }} > src/main/webapp/.env
echo "${{ vars.VITE_ENV }}" > src/main/webapp/.env
cat src/main/webapp/.env
cd src/main/webapp
npm install
npm run build