Skip to content

Commit

Permalink
Updated workflow file to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel Jacob authored and Nigel Jacob committed Mar 24, 2024
1 parent 8d6d59a commit 913d284
Show file tree
Hide file tree
Showing 5 changed files with 3,037 additions and 3,481 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,25 @@ jobs:
- name: Install dependencies on frontEnd
run: cd Frontend && yarn

- name: Install dependencies on Main
- name: Install dependencies on Backend
run: cd Backend && yarn

- name: Upgrade dependencies on Main
run: yarn upgrade

- name: Run Tests on Main
run: cd Backend && jest

- run: |
npm run electron:build
npm run electron:build-mac
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
mac_certs: ${{ secrets.mac_certs }}
mac_certs_password: ${{ secrets.mac_certs_password }}
- name: Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GH_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
*.dmg
- run: |
npm run electron:build-windows
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2 changes: 1 addition & 1 deletion Backend/src/ProgressTrackerFunctions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe("progress tracker functions", () => {
//promise that holds a boolean value of true if the folder uploads and false if it doesn't
const fileUploaded = new Promise(resolve => {

let folderPath = "C:/Users/INUKA PERERA/Desktop/testdeploy4"
let folderPath = "/Users/nigeljacob/Visual Code/Electron Pojects/Project-SYNK"
let folderName = "Test Deploy 4.1"

//function to create and upload a zip using the folder path
Expand Down
Loading

0 comments on commit 913d284

Please sign in to comment.