Skip to content

Merge pull request #213 from Azure-Samples/mgamis/update-1.11.0 #354

Merge pull request #213 from Azure-Samples/mgamis/update-1.11.0

Merge pull request #213 from Azure-Samples/mgamis/update-1.11.0 #354

Workflow file for this run

name: CI
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main]
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build_and_test:
name: Build and test
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Node 16
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Setup Server dependencies
working-directory: ./Server
run: |
npm install
- name: Build backend
working-directory: ./Server
shell: bash
run: |
npm run build
clean_frontend:
name: Run clean code tests on frontend
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install (dev) dependencies
working-directory: ./Calling
run: npm install
- name: Lint
working-directory: ./Calling
run: npm run lint
- name: Check all is pretty
working-directory: ./Calling
run: npm run prettier:check
- name: Build
working-directory: ./Calling
run: npm run build