infra: add npm install command forgejo action
All checks were successful
Deploy eolas-api / deploy (push) Successful in 29s

This commit is contained in:
Thomas Bishop 2025-10-15 15:53:04 +01:00
parent af297be06f
commit 49ea3e2554
2 changed files with 3 additions and 2 deletions

View file

@ -67,4 +67,5 @@ jobs:
echo "${{ secrets.VPS_DEPLOY_USER_SSH_KEY }}" > /tmp/ssh_key
chmod 600 /tmp/ssh_key
rsync -avz --delete --inplace --exclude='.env' -e "ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no" ./ ${{ vars.VPS_DEPLOY_USER }}:/var/www/eolas-api/
npm install --omit=dev
rm /tmp/ssh_key

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "eolas-api",
"version": "0.0.0",
"version": "0.2.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "eolas-api",
"version": "0.0.0",
"version": "0.2.1",
"license": "ISC",
"dependencies": {
"cors": "^2.8.5",