Bump braces and jest in /Calling #428
Workflow file for this run
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: 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 20 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- 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 |