diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index a8a9cb8..757f82f 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -17,7 +17,12 @@ jobs: node-version: '18' - name: Install dependencies - run: npm ci + run: | + if [ -f package-lock.json ]; then + npm ci + else + npm install + fi - name: Run linting run: npm run lint