Update .gitea/workflows/server_tests.yaml
Some checks failed
Run Socket Server Tests / test (push) Failing after 17s

Setting production flag as passed 'dev' var to npm is installing the dev package
This commit is contained in:
2024-04-06 14:14:31 -04:00
parent 1dd53ffc84
commit 86a71d3d6f

View File

@@ -23,10 +23,18 @@ jobs:
- name: Install Node-GYP
working-directory: './server'
run: npm install -g node-gyp
- name: Set Production Flag
working-directory: './server'
run: npm config get production
- name: Set Production Flag to Dev
working-directory: './server'
run: npm config set -g production false
- name: Install dependencies
working-directory: './server'
run: npm install dev
run: npm install
- run: echo "Node has finished installing dependencies"