Update .gitea/workflows/server_tests.yaml
Some checks failed
Run Socket Server Tests / test (push) Failing after 17s
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user