diff --git a/.github/workflows/testDeploy.yml b/.github/workflows/testDeploy.yml index 6dd792d..7e6d01d 100644 --- a/.github/workflows/testDeploy.yml +++ b/.github/workflows/testDeploy.yml @@ -24,7 +24,7 @@ jobs: node-version: '20' # Install dependencies, build and start the server. - name: Install dependencies - run: npm i + run: npm install - name: Build run: npm run build - name: Start server @@ -32,7 +32,7 @@ jobs: # Install Cypress dependencies and run the tests. - name: Install Cypress Dependencies # Change the directory to the cypress folder. - run: cd ./cypress && npm i + run: cd ./cypress && npm install - name: Run Cypress tests # Change the directory to the cypress folder. @@ -81,7 +81,7 @@ jobs: git pull rm -r cypress cd /var/www/MysteryIncAuctions/Client - npm i + npm install rm -r dist npm run build cd /var/www/MysteryIncAuctions/Server