Updated workflow file to run tests #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Build SYNK | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
TEST-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 | |
- 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 }} |