Documented the components of the architecture diagram #263
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
--- | |
# Documentation:https://help.github.com/en/articles/workflow-syntax-for-github-actions | |
name: Continuous Integration | |
on: | |
push: | |
branches: [develop] | |
pull_request: | |
branches: [develop] | |
jobs: | |
smoke-test: | |
name: Smoke Test | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node-version: [16.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout the code base | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build the project | |
run: yarn run build | |
regression-test: | |
name: Regression Test | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node-version: [16.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout the code base | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run unit tests | |
run: yarn run test |