name: Test

on:
  push:
    branches: [ master ]

jobs:
  test-launcher-backend:
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v2

    - name: Set up Go
      uses: actions/setup-go@v2
      with:
        go-version: 1.16
 
    - name: Test Launcher Backend
      run: |
        cd launcher
        mkdir -p frontend/public/build
        touch bundle.js
        touch alibiCSS.css
        go test ./... -v


  test-launcher-frontend:
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v2

    - name: Set up Go
      uses: actions/setup-go@v2
      with:
        go-version: 1.16
 
    - name: Test Launcher Backend
      run: |
        cd launcher/frontend
        npm i
        npm run test


  test-deactivator:
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v2

    - name: Set up Go
      uses: actions/setup-go@v2
      with:
        go-version: 1.16
 
    - name: Test Deactivator
      run: |
        cd setup/deactivator
        go test ./... -v
        cd ../..

name: Test

on:
  push:
    branches: [ master ]

jobs:
  test-launcher-backend:
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v2

    - name: Set up Go
      uses: actions/setup-go@v2
      with:
        go-version: 1.16
 
    - name: Test Launcher Backend
      run: |
        cd launcher
        mkdir -p frontend/public/build
        touch frontend/public/build/bundle.js
        touch alibiCSS.css
        go test ./... -v


  test-launcher-frontend:
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v2

    - name: Set up Go
      uses: actions/setup-go@v2
      with:
        go-version: 1.16
 
    - name: Test Launcher Backend
      run: |
        cd launcher/frontend
        npm i
        npm run test


  test-deactivator:
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v2

    - name: Set up Go
      uses: actions/setup-go@v2
      with:
        go-version: 1.16
 
    - name: Test Deactivator
      run: |
        cd setup/deactivator
        go test ./... -v
        cd ../..

Create the bundle in the newly created folder...
Create the bundle in the newly created folder...
