Skip to content

Updated workflow file to run tests #67

Updated workflow file to run tests

Updated workflow file to run tests #67

Workflow file for this run

name: Test and Build SYNK
on:
push:
branches:
- main
jobs:
TEST-and-BUILD:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies on Main
run: yarn
- name: Install dependencies on frontEnd
run: cd Frontend && yarn
- 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 && yarn jest
- run: |
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 }}
- run: |
npm run electron:build-windows
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}