diff --git a/.github/workflows/github_deploy.yml b/.github/workflows/github_deploy.yml index bb1a8a3..78eb108 100644 --- a/.github/workflows/github_deploy.yml +++ b/.github/workflows/github_deploy.yml @@ -11,15 +11,16 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout the repository + uses: actions/checkout@v4 - name: Configure NodeJS uses: actions/setup-node@v3 with: - - node-version: '21.x' + node-version: '21.x' - name: Check Front-end build - - run: | + run: | cd svelte_client npm install npm run build @@ -36,6 +37,8 @@ jobs: git pull origin main # Build front-end + export NVM_DIR=~/.nvm + source ~/.nvm/nvm.sh cd svelte_client npm install npm run build