Skip to content

Commit

Permalink
Merge pull request #148 from MarcusT96/githubactions/test
Browse files Browse the repository at this point in the history
Githubactions/test
  • Loading branch information
PontusPilatus authored May 16, 2024
2 parents 645716e + ef968a6 commit ea99d13
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/testDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,15 @@ jobs:
- name: Install dependencies
run: cd ./Client && npm install
- name: Build
run: npm run build
- name: Start server
run: nohup node index.js &
run: cd ./Client && npm run build

- name: Install http-server
run: cd ./Client && npm install -g http-server
- name: Serve built files
run: |
cd ./Client/dist
http-server -p 8080
# Install Cypress dependencies and run the tests.
- name: Install Cypress Dependencies
# Change the directory to the cypress folder.
Expand Down

0 comments on commit ea99d13

Please sign in to comment.