Merge pull request #780 from sandboxnu/775-fix-wording-changes-for-tr… #3090
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: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Run linting for all packages | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install node v16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- uses: bahmutov/npm-install@v1 | |
- run: yarn lint | |
run-api-tests: | |
runs-on: ubuntu-latest | |
name: API Tests | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- run: yarn install --immutable | |
- name: Run Jest Tests | |
run: yarn packages/api test | |
build-frontend-image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- run: yarn install --immutable | |
- name: Build Docker image for frontend | |
run: yarn frontend:docker:build | |
build-backend-image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- run: yarn install --immutable | |
- name: Build Docker image for backend | |
run: yarn backend:docker:build |