wip: ci/cd fix npm
Some checks failed
Deploy Production Server / if_merged (push) Failing after 1m12s
Some checks failed
Deploy Production Server / if_merged (push) Failing after 1m12s
This commit is contained in:
parent
a20f47080b
commit
8ce23cb230
@ -17,9 +17,16 @@ jobs:
|
|||||||
distribution: 'graalvm'
|
distribution: 'graalvm'
|
||||||
cache: 'maven'
|
cache: 'maven'
|
||||||
|
|
||||||
|
- name: Set up Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '18'
|
||||||
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Build site
|
- name: Build site
|
||||||
run: |
|
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
|
cd src/main/webapp
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user